@@ -101,7 +101,7 @@ define void @store_signed_const_local(ptr %dest) {
101
101
; ISEL-MIR: body:
102
102
; ISEL-MIR: %0:gpr64common = COPY $x0
103
103
; ISEL-MIR-NEXT: %10:gpr64common = MOVaddr target-flags(aarch64-page) @const_table_local + 8, target-flags(aarch64-pageoff, aarch64-nc) @const_table_local + 8
104
- ; ISEL-MIR-NEXT: %2:gpr64common = PAUTH_BLEND %0, 1234
104
+ ; ISEL-MIR-NEXT: %2:gpr64common = MOVKXi %0, 1234, 48
105
105
; ISEL-MIR-NEXT: %15:gpr64noip = COPY %2
106
106
; ISEL-MIR-NEXT: MOVaddrPAC @const_table_local + 8, 2, %15, 0, implicit-def $x16, implicit-def $x17
107
107
; ISEL-MIR-NEXT: %4:gpr64 = COPY $x16
@@ -135,7 +135,7 @@ define void @store_signed_const_got(ptr %dest) {
135
135
; ISEL-MIR-ELF: %0:gpr64common = COPY $x0
136
136
; ISEL-MIR-ELF-NEXT: %7:gpr64common = LOADgotAUTH target-flags(aarch64-got) @const_table_got
137
137
; ISEL-MIR-ELF-NEXT: %6:gpr64common = ADDXri %7, 8, 0
138
- ; ISEL-MIR-ELF-NEXT: %2:gpr64common = PAUTH_BLEND %0, 1234
138
+ ; ISEL-MIR-ELF-NEXT: %2:gpr64common = MOVKXi %0, 1234, 48
139
139
; ISEL-MIR-ELF-NEXT: %12:gpr64noip = COPY %2
140
140
; ISEL-MIR-ELF-NEXT: LOADgotPAC target-flags(aarch64-got) @const_table_got + 8, 2, %12, 0, implicit-def $x16, implicit-def $x17, implicit-def $nzcv
141
141
; ISEL-MIR-ELF-NEXT: %4:gpr64 = COPY $x16
@@ -174,7 +174,7 @@ define void @store_signed_arg(ptr %dest, ptr %p) {
174
174
; ISEL-MIR: body:
175
175
; ISEL-MIR: %0:gpr64common = COPY $x0
176
176
; ISEL-MIR-NEXT: %1:gpr64common = COPY $x1
177
- ; ISEL-MIR-NEXT: %3:gpr64common = PAUTH_BLEND %0, 1234
177
+ ; ISEL-MIR-NEXT: %3:gpr64common = MOVKXi %0, 1234, 48
178
178
; ISEL-MIR-NEXT: %6:gpr64common = ADDXri %1, 8, 0
179
179
; Check that no implicit defs are added to PACDA instruction.
180
180
; ISEL-MIR-NEXT: %8:gpr64 = PACDA %6, %3{{$}}
@@ -185,8 +185,8 @@ define void @store_signed_arg(ptr %dest, ptr %p) {
185
185
; ISEL-ASM-LABEL: store_signed_arg:
186
186
; ISEL-ASM-NEXT: .cfi_startproc
187
187
; ISEL-ASM-NEXT: mov x8, x0
188
- ; ISEL-ASM-NEXT: movk x8, #1234, lsl #48
189
188
; ISEL-ASM-NEXT: add x9, x1, #8
189
+ ; ISEL-ASM-NEXT: movk x8, #1234, lsl #48
190
190
; ISEL-ASM-NEXT: pacda x9, x8
191
191
; ISEL-ASM-NEXT: str x9, [x0]
192
192
; ISEL-ASM-NEXT: ret
0 commit comments