diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-06-16 01:35:45 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-06-16 01:35:45 +0000 |
commit | 3cae396e03c394a4bc51c0d4a00346e40043d5e7 (patch) | |
tree | 0c0e2e8b5459e6793c991a9acf3ccd3f895169ff /test/CodeGen/X86/zext-fold.ll | |
parent | 9b91a88f1df8fccbb8af81f07f15798c6e1f0fc4 (diff) | |
download | external_llvm-3cae396e03c394a4bc51c0d4a00346e40043d5e7.zip external_llvm-3cae396e03c394a4bc51c0d4a00346e40043d5e7.tar.gz external_llvm-3cae396e03c394a4bc51c0d4a00346e40043d5e7.tar.bz2 |
Commit the right set of tests for r133124. Sorry 'bout that!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133133 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/zext-fold.ll')
-rw-r--r-- | test/CodeGen/X86/zext-fold.ll | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/test/CodeGen/X86/zext-fold.ll b/test/CodeGen/X86/zext-fold.ll index f9a5762..2a7f065 100644 --- a/test/CodeGen/X86/zext-fold.ll +++ b/test/CodeGen/X86/zext-fold.ll @@ -21,8 +21,8 @@ define i32 @test2(i8 %x) nounwind readnone { } ; CHECK: test2 ; CHECK: movzbl -; CHECK-NEXT: orl {{.*}}63 -; CHECK-NEXT: andl {{.*}}224 +; CHECK: orl $63 +; CHECK: andl $224 declare void @use(i32, i8) @@ -34,3 +34,8 @@ define void @test3(i8 %x) nounwind readnone { ret void } ; CHECK: test3 +; CHECK: movzbl 16(%esp), %eax +; CHECK-NEXT: movl %eax, 4(%esp) +; CHECK-NEXT: andl $224, %eax +; CHECK-NEXT: movl %eax, (%esp) +; CHECK-NEXT: call{{.*}}use |