diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-12-17 00:40:05 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-12-17 00:40:05 +0000 |
commit | 7d8baee6a05ca3383f39a5745c3c93aeb09aa749 (patch) | |
tree | 80f8239550138faa647336bd6b6d0aacb5d36768 /test/CodeGen/CellSPU | |
parent | 8ae68e420a7fd0e4bc77674860a3d2fb619a3b15 (diff) | |
download | external_llvm-7d8baee6a05ca3383f39a5745c3c93aeb09aa749.zip external_llvm-7d8baee6a05ca3383f39a5745c3c93aeb09aa749.tar.gz external_llvm-7d8baee6a05ca3383f39a5745c3c93aeb09aa749.tar.bz2 |
Revert this dag combine change:
Fold (zext (and x, cst)) -> (and (zext x), cst)
DAG combiner likes to optimize expression in the other way so this would end up cause an infinite looping.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91574 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/CellSPU')
-rw-r--r-- | test/CodeGen/CellSPU/and_ops.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/CellSPU/and_ops.ll b/test/CodeGen/CellSPU/and_ops.ll index 716de2e..139e97b 100644 --- a/test/CodeGen/CellSPU/and_ops.ll +++ b/test/CodeGen/CellSPU/and_ops.ll @@ -1,9 +1,9 @@ ; RUN: llc < %s -march=cellspu > %t1.s -; RUN: grep and %t1.s | count 230 +; RUN: grep and %t1.s | count 234 ; RUN: grep andc %t1.s | count 85 -; RUN: grep andi %t1.s | count 39 -; RUN: grep andhi %t1.s | count 28 -; RUN: grep andbi %t1.s | count 2 +; RUN: grep andi %t1.s | count 37 +; RUN: grep andhi %t1.s | count 30 +; RUN: grep andbi %t1.s | count 4 target datalayout = "E-p:32:32:128-f64:64:128-f32:32:128-i64:32:128-i32:32:128-i16:16:128-i8:8:128-i1:8:128-a0:0:128-v128:128:128-s0:128:128" target triple = "spu" |