Lower anyext to zext, 32-bit stuff does not have any implicit zero-extension side effects

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76035 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Anton Korobeynikov
2009-07-16 14:24:41 +00:00
parent 1ada84daaf
commit 75eef89ddb
8 changed files with 183 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
; RUN: llvm-as < %s | llc -march=systemz | grep ahi | count 3
; RUN: llvm-as < %s | llc -march=systemz | grep afi | count 3
; RUN: llvm-as < %s | llc -march=systemz | grep lgfr | count 4
; RUN: llvm-as < %s | llc -march=systemz | grep llgfr | count 2
; RUN: llvm-as < %s | llc -march=systemz | grep ahi | count 3
; RUN: llvm-as < %s | llc -march=systemz | grep afi | count 3
; RUN: llvm-as < %s | llc -march=systemz | grep lgfr | count 6
; RUN: llvm-as < %s | llc -march=systemz | grep llgfr | count 4
define i32 @foo1(i32 %a, i32 %b) {