summaryrefslogtreecommitdiff
path: root/test/Transforms/GVN
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2011-06-04 06:48:50 +0000
committerDan Gohman <gohman@apple.com>2011-06-04 06:48:50 +0000
commita3351a0e5db0b5b2c53920f2f15d3e862fecfad3 (patch)
treee3950ad2badcb5f73f54fa0aff620e158e13bc2a /test/Transforms/GVN
parentbaddf6c8b07afd48c145e08d8e5b524b1012deff (diff)
downloadllvm-a3351a0e5db0b5b2c53920f2f15d3e862fecfad3.tar.gz
llvm-a3351a0e5db0b5b2c53920f2f15d3e862fecfad3.tar.bz2
llvm-a3351a0e5db0b5b2c53920f2f15d3e862fecfad3.tar.xz
Disable the main feature of 130180, the elimination of loads that are
redundant with partially-aliasing loads. When computing what portion of a clobbering load value is needed, it doesn't consider phi-translation which may have occurred between the clobbing load and the redundant load. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132631 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/GVN')
-rw-r--r--test/Transforms/GVN/rle.ll24
1 files changed, 12 insertions, 12 deletions
diff --git a/test/Transforms/GVN/rle.ll b/test/Transforms/GVN/rle.ll
index 51f2727f1c..28b1fc7b60 100644
--- a/test/Transforms/GVN/rle.ll
+++ b/test/Transforms/GVN/rle.ll
@@ -562,14 +562,14 @@ entry:
%add = add nsw i32 %tmp2, %conv
ret i32 %add
-; CHECK: @load_load_partial_alias
-; CHECK: load i32*
-; CHECK-NOT: load
-; CHECK: lshr i32 {{.*}}, 8
-; CHECK-NOT: load
-; CHECK: trunc i32 {{.*}} to i8
-; CHECK-NOT: load
-; CHECK: ret i32
+; TEMPORARILYDISABLED: @load_load_partial_alias
+; TEMPORARILYDISABLED: load i32*
+; TEMPORARILYDISABLED-NOT: load
+; TEMPORARILYDISABLED: lshr i32 {{.*}}, 8
+; TEMPORARILYDISABLED-NOT: load
+; TEMPORARILYDISABLED: trunc i32 {{.*}} to i8
+; TEMPORARILYDISABLED-NOT: load
+; TEMPORARILYDISABLED: ret i32
}
@@ -589,10 +589,10 @@ land.lhs.true: ; preds = %entry
if.end:
ret i32 52
-; CHECK: @load_load_partial_alias_cross_block
-; CHECK: land.lhs.true:
-; CHECK-NOT: load i8
-; CHECK: ret i32 %conv6
+; TEMPORARILY_DISABLED: @load_load_partial_alias_cross_block
+; TEMPORARILY_DISABLED: land.lhs.true:
+; TEMPORARILY_DISABLED-NOT: load i8
+; TEMPORARILY_DISABLED: ret i32 %conv6
}