diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-08-18 17:53:03 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-08-18 17:53:03 +0000 |
commit | b9d6b8449d245ee1607f6f197b29befbf8c41a1e (patch) | |
tree | f48666ead620a694f8e02d2e778c9c33faf646fa /test/CodeGen/X86/fold-load.ll | |
parent | 6d655a50f93520e73c4154e3642227d665bd6966 (diff) | |
download | external_llvm-b9d6b8449d245ee1607f6f197b29befbf8c41a1e.zip external_llvm-b9d6b8449d245ee1607f6f197b29befbf8c41a1e.tar.gz external_llvm-b9d6b8449d245ee1607f6f197b29befbf8c41a1e.tar.bz2 |
Reapply r162160 with a fix: Optimize Arith->Trunc->SETCC sequence to allow better compare/branch code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162172 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/fold-load.ll')
-rw-r--r-- | test/CodeGen/X86/fold-load.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/fold-load.ll b/test/CodeGen/X86/fold-load.ll index c961f75..d836665 100644 --- a/test/CodeGen/X86/fold-load.ll +++ b/test/CodeGen/X86/fold-load.ll @@ -57,13 +57,13 @@ entry: %0 = load i32* %P, align 4 %1 = load i32* %Q, align 4 %2 = xor i32 %0, %1 - %3 = and i32 %2, 65535 + %3 = and i32 %2, 89947 %4 = icmp eq i32 %3, 0 br i1 %4, label %exit, label %land.end exit: %shr.i.i19 = xor i32 %1, %0 - %5 = and i32 %shr.i.i19, 2147418112 + %5 = and i32 %shr.i.i19, 3456789123 %6 = icmp eq i32 %5, 0 br label %land.end |