aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/AArch64/avoid-free-ext-promotion.ll
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2024-04-04 17:49:07 -0700
committerVitaly Buka <vitalybuka@google.com>2024-04-04 17:49:07 -0700
commita724510541fc3272c9d4415c89b4549d8d149675 (patch)
tree5090317c71cf2ae73fb91a32f8dd6f8e037e4603 /llvm/test/CodeGen/AArch64/avoid-free-ext-promotion.ll
parent2fe88fc8b7a3c27d473b6a172f0dc8aae7be3310 (diff)
parentb76eb1ddfbacda273b8e6a9940f1da6812fdc2e0 (diff)
downloadllvm-a724510541fc3272c9d4415c89b4549d8d149675.zip
llvm-a724510541fc3272c9d4415c89b4549d8d149675.tar.gz
llvm-a724510541fc3272c9d4415c89b4549d8d149675.tar.bz2
[𝘀𝗽𝗿] changes introduced through rebaseusers/vitalybuka/spr/main.rename-remove-traps-to-lower-builtin-hot
Created using spr 1.3.4 [skip ci]
Diffstat (limited to 'llvm/test/CodeGen/AArch64/avoid-free-ext-promotion.ll')
-rw-r--r--llvm/test/CodeGen/AArch64/avoid-free-ext-promotion.ll11
1 files changed, 5 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/AArch64/avoid-free-ext-promotion.ll b/llvm/test/CodeGen/AArch64/avoid-free-ext-promotion.ll
index 8f19553..634d1b9 100644
--- a/llvm/test/CodeGen/AArch64/avoid-free-ext-promotion.ll
+++ b/llvm/test/CodeGen/AArch64/avoid-free-ext-promotion.ll
@@ -82,13 +82,12 @@ define void @avoid_promotion_2_and(ptr nocapture noundef %arg) {
; CHECK-NEXT: eor w10, w10, w11
; CHECK-NEXT: ldur w11, [x8, #-24]
; CHECK-NEXT: and w10, w10, w14
-; CHECK-NEXT: ldp x15, x14, [x8, #-16]
-; CHECK-NEXT: ubfiz x13, x10, #1, #32
+; CHECK-NEXT: ldp x14, x13, [x8, #-16]
; CHECK-NEXT: str w10, [x8]
-; CHECK-NEXT: and w10, w11, w12
-; CHECK-NEXT: ldrh w11, [x14, x13]
-; CHECK-NEXT: strh w11, [x15, w10, uxtw #1]
-; CHECK-NEXT: strh w12, [x14, x13]
+; CHECK-NEXT: and w11, w11, w12
+; CHECK-NEXT: ldrh w15, [x13, w10, uxtw #1]
+; CHECK-NEXT: strh w15, [x14, w11, uxtw #1]
+; CHECK-NEXT: strh w12, [x13, w10, uxtw #1]
; CHECK-NEXT: b LBB1_1
; CHECK-NEXT: LBB1_4: ; %exit
; CHECK-NEXT: ret