forked from OSchip/llvm-project
[X86] Regenerate abi-isel.ll test
Adds note requested in D57301 and fixes some missing GOTPCREL addressmath checks llvm-svn: 352474
This commit is contained in:
parent
f41e3d0873
commit
0b7fce6d72
|
@ -1,4 +1,5 @@
|
|||
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
||||
; NOTE: Use the --no_x86_scrub_rip additional argument to keep the rip address math.
|
||||
|
||||
; RUN: llc < %s -mcpu=generic -mtriple=x86_64-unknown-linux-gnu -relocation-model=static -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=LINUX-64-STATIC
|
||||
; RUN: llc < %s -mcpu=generic -mtriple=i686-unknown-linux-gnu -relocation-model=static -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=LINUX-32-STATIC
|
||||
|
@ -7751,7 +7752,7 @@ define i8* @bam02() nounwind {
|
|||
;
|
||||
; LINUX-64-PIC-LABEL: bam02:
|
||||
; LINUX-64-PIC: # %bb.0: # %entry
|
||||
; LINUX-64-PIC-NEXT: movq ptr@{{.*}}(%rip), %rcx
|
||||
; LINUX-64-PIC-NEXT: movq ptr@GOTPCREL(%rip), %rcx
|
||||
; LINUX-64-PIC-NEXT: movl $262144, %eax # imm = 0x40000
|
||||
; LINUX-64-PIC-NEXT: addq (%rcx), %rax
|
||||
; LINUX-64-PIC-NEXT: retq
|
||||
|
@ -7781,21 +7782,21 @@ define i8* @bam02() nounwind {
|
|||
;
|
||||
; DARWIN-64-STATIC-LABEL: bam02:
|
||||
; DARWIN-64-STATIC: ## %bb.0: ## %entry
|
||||
; DARWIN-64-STATIC-NEXT: movq _ptr@{{.*}}(%rip), %rcx
|
||||
; DARWIN-64-STATIC-NEXT: movq _ptr@GOTPCREL(%rip), %rcx
|
||||
; DARWIN-64-STATIC-NEXT: movl $262144, %eax ## imm = 0x40000
|
||||
; DARWIN-64-STATIC-NEXT: addq (%rcx), %rax
|
||||
; DARWIN-64-STATIC-NEXT: retq
|
||||
;
|
||||
; DARWIN-64-DYNAMIC-LABEL: bam02:
|
||||
; DARWIN-64-DYNAMIC: ## %bb.0: ## %entry
|
||||
; DARWIN-64-DYNAMIC-NEXT: movq _ptr@{{.*}}(%rip), %rcx
|
||||
; DARWIN-64-DYNAMIC-NEXT: movq _ptr@GOTPCREL(%rip), %rcx
|
||||
; DARWIN-64-DYNAMIC-NEXT: movl $262144, %eax ## imm = 0x40000
|
||||
; DARWIN-64-DYNAMIC-NEXT: addq (%rcx), %rax
|
||||
; DARWIN-64-DYNAMIC-NEXT: retq
|
||||
;
|
||||
; DARWIN-64-PIC-LABEL: bam02:
|
||||
; DARWIN-64-PIC: ## %bb.0: ## %entry
|
||||
; DARWIN-64-PIC-NEXT: movq _ptr@{{.*}}(%rip), %rcx
|
||||
; DARWIN-64-PIC-NEXT: movq _ptr@GOTPCREL(%rip), %rcx
|
||||
; DARWIN-64-PIC-NEXT: movl $262144, %eax ## imm = 0x40000
|
||||
; DARWIN-64-PIC-NEXT: addq (%rcx), %rax
|
||||
; DARWIN-64-PIC-NEXT: retq
|
||||
|
@ -7946,7 +7947,7 @@ define i8* @bam05() nounwind {
|
|||
;
|
||||
; LINUX-64-PIC-LABEL: bam05:
|
||||
; LINUX-64-PIC: # %bb.0: # %entry
|
||||
; LINUX-64-PIC-NEXT: movq dptr@{{.*}}(%rip), %rcx
|
||||
; LINUX-64-PIC-NEXT: movq dptr@GOTPCREL(%rip), %rcx
|
||||
; LINUX-64-PIC-NEXT: movl $262144, %eax # imm = 0x40000
|
||||
; LINUX-64-PIC-NEXT: addq (%rcx), %rax
|
||||
; LINUX-64-PIC-NEXT: retq
|
||||
|
|
Loading…
Reference in New Issue