mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
This was failing on Darwin, which defaults to PIC;
no lea was generated. I think this follows the intent. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43312 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0fcee0639e
commit
0bd5fcf49f
@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | llc -march=x86 | grep lea | count 1
|
||||
; RUN: llvm-as < %s | llc -march=x86 -relocation-model=static | grep lea | count 1
|
||||
; RUN: llvm-as < %s | llc -march=x86-64 | not grep lea
|
||||
|
||||
; For x86 there's an lea above the loop. In both cases, there shouldn't
|
||||
|
Loading…
Reference in New Issue
Block a user