mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-03 14:31:10 +00:00
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35432 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
34a4b38cbd
commit
01f45ca17b
7
test/CodeGen/X86/lea-3.ll
Normal file
7
test/CodeGen/X86/lea-3.ll
Normal file
@ -0,0 +1,7 @@
|
||||
; RUN: llvm-as < %s | llc -march=x86-64 | grep 'leal (%rdi,%rdi,2), %eax'
|
||||
|
||||
define i32 @test(i32 %a) {
|
||||
%tmp2 = mul i32 %a, 3 ; <i32> [#uses=1]
|
||||
ret i32 %tmp2
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | grep lea
|
||||
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | grep lea &&
|
||||
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | not grep add
|
||||
|
||||
int %test(int %X, int %Y) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user