Add the ability to use GEPs for address sinking in CGP
[oota-llvm.git] / test / CodeGen / X86 / isel-sink.ll
index 458f19dfc4f77f05787e7878d972f2a853aa8b1e..e4af9b67f95e69231a112558a248454350d8087a 100644 (file)
@@ -1,4 +1,5 @@
 ; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -march=x86 -addr-sink-using-gep=1 | FileCheck %s
 
 define i32 @test(i32* %X, i32 %B) {
 ; CHECK-LABEL: test: