Skip to content

[AArch64] Fold UMOV(lane 0) + GPR store in FPR store#199139

Open
kunalspathak wants to merge 1 commit into
llvm:mainfrom
kunalspathak:gh-aarch64-fold-umov-st
Open

[AArch64] Fold UMOV(lane 0) + GPR store in FPR store#199139
kunalspathak wants to merge 1 commit into
llvm:mainfrom
kunalspathak:gh-aarch64-fold-umov-st

Conversation

@kunalspathak
Copy link
Copy Markdown

Problem: LLVM generates umov w8, v0.h[0] + strh w8, [x0] instead of str h0, [x0] when storing vector lane 0 to memory, specifically when SimplifyCFG merges stores across branches -- splitting the extractelement and store into different basic blocks and preventing the existing DAG combine from firing.

https://godbolt.org/z/v5G9ohMPa

Root cause: SimplifyCFG creates a PHI + merged store in a successor block. SelectionDAG ISel processes each block independently, so it lowers the extract to UMOV (GPR) in the predecessor and the store sees only a GPR value via the PHI. Late tail duplication puts the store back in the same block, but the UMOV is already baked in.

Fix: Added a post-RA peephole in AArch64LoadStoreOptimizer (step 6 in optimizeBlock) that recognizes UMOVvi*_idx0 + GPR store patterns and replaces them with direct FPR sub-register stores. The peephole:

  • Handles all element sizes: i8 (bsub), i16 (hsub), i32 (ssub), i64 (dsub)
  • Correctly updates liveness by clearing intervening kill flags on the vector register
  • Bails out if the GPR value has other uses, the vector register is clobbered, or the store doesn't kill the GPR

Assisted-by: Claude

Fixes: #137086

cc: @MatzeB @efriedma-quic

Summary:
Problem: LLVM generates `umov w8, v0.h[0]` + `strh w8, [x0]` instead of `str h0, [x0]` when storing vector lane 0 to memory, specifically when SimplifyCFG merges stores across branches -- splitting the extractelement and store into different basic blocks and preventing the existing DAG combine from firing.

Root cause: SimplifyCFG creates a PHI + merged store in a successor block. SelectionDAG ISel processes each block independently, so it lowers the extract to `UMOV` (GPR) in the predecessor and the store sees only a GPR value via the PHI. Late tail duplication puts the store back in the same block, but the `UMOV` is already baked in.

Fix: Added a post-RA peephole in `AArch64LoadStoreOptimizer` (step 6 in `optimizeBlock`) that recognizes `UMOVvi*_idx0` + GPR store patterns and replaces them with direct FPR sub-register stores. The peephole:
- Handles all element sizes: i8 (`bsub`), i16 (`hsub`), i32 (`ssub`), i64 (`dsub`)
- Correctly updates liveness by clearing intervening kill flags on the vector register
- Bails out if the GPR value has other uses, the vector register is clobbered, or the store doesn't kill the GPR

Test Plan: Added `llvm/test/CodeGen/AArch64/ldst-opt-umov-fpr-store.mir` -- new test with 6 positive and 3 negative cases

Reviewers:

Subscribers:

Differential Revision: https://phabricator.intern.facebook.com/D105060655
@github-actions
Copy link
Copy Markdown

Hello @kunalspathak 👋

Thank you for submitting a Pull Request (PR) to the LLVM Project. Since this is your first PR, here are a few useful links covering our main contribution policies and review practices.

  • All contributions to LLVM must follow our LLVM AI Tool Use Policy. In particular, if you used AI while working on this PR, remember to add a note to the PR description.
  • The LLVM Code-Review Policy and Practices document contains practical information about the PR process, including how patches are reviewed and accepted, and who can review a PR.
  • Our LLVM Developer Policy describes our expectations for code quality, commit summaries and contains notes on our CI system.

Please reply to this message to confirm that you have read these policies, especially the LLVM AI Tool Use Policy, and that any AI tool usage has been noted in the PR description.


Frequently asked questions

How do I add reviewers?

This PR will be automatically labeled, and the relevant teams will be notified. For some parts of the project, reviewers may also be added automatically.

You can also add reviewers manually using the Reviewers section on this page. If you cannot use that section, it is probably because you do not have write permissions for the repository. In that case, you can request a review by tagging reviewers in a comment using @ followed by their GitHub username.

What if there are no comments?

If you have not received any comments on your PR after a week, you can request a review by pinging the PR with a comment such as “Ping”. The common courtesy ping rate is once a week. Please remember that you are asking for volunteer time from other developers.

Are any special GitHub settings required to contribute to LLVM?

We only require contributors to have a public email address associated with their GitHub commits, see this section of LLVM Developer Policy for details.


If you have questions, feel free to leave a comment on this PR, or ask on LLVM Discord or LLVM Discourse.

Thank you,
The LLVM Community

@apolloww apolloww requested review from MatzeB and efriedma-quic May 22, 2026 00:35
@kunalspathak kunalspathak marked this pull request as ready for review May 22, 2026 00:36
@llvmorg-github-actions
Copy link
Copy Markdown

@llvm/pr-subscribers-backend-aarch64

Author: Kunal Pathak (kunalspathak)

Changes

Problem: LLVM generates umov w8, v0.h[0] + strh w8, [x0] instead of str h0, [x0] when storing vector lane 0 to memory, specifically when SimplifyCFG merges stores across branches -- splitting the extractelement and store into different basic blocks and preventing the existing DAG combine from firing.

https://godbolt.org/z/v5G9ohMPa

Root cause: SimplifyCFG creates a PHI + merged store in a successor block. SelectionDAG ISel processes each block independently, so it lowers the extract to UMOV (GPR) in the predecessor and the store sees only a GPR value via the PHI. Late tail duplication puts the store back in the same block, but the UMOV is already baked in.

Fix: Added a post-RA peephole in AArch64LoadStoreOptimizer (step 6 in optimizeBlock) that recognizes UMOVvi*_idx0 + GPR store patterns and replaces them with direct FPR sub-register stores. The peephole:

  • Handles all element sizes: i8 (bsub), i16 (hsub), i32 (ssub), i64 (dsub)
  • Correctly updates liveness by clearing intervening kill flags on the vector register
  • Bails out if the GPR value has other uses, the vector register is clobbered, or the store doesn't kill the GPR

Assisted-by: Claude

Fixes: #137086

cc: @MatzeB @efriedma-quic


Full diff: https://github.com/llvm/llvm-project/pull/199139.diff

2 Files Affected:

  • (modified) llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp (+123)
  • (added) llvm/test/CodeGen/AArch64/ldst-opt-umov-fpr-store.mir (+169)
diff --git a/llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp b/llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
index 34d46e5c37569..2844001199deb 100644
--- a/llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
+++ b/llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
@@ -65,6 +65,8 @@ STATISTIC(NumFailedAlignmentCheck, "Number of load/store pair transformation "
                                    "not passed the alignment check");
 STATISTIC(NumConstOffsetFolded,
           "Number of const offset of index address folded");
+STATISTIC(NumUMOVFoldedToFPRStore,
+          "Number of UMOV + GPR stores folded to FPR stores");
 
 DEBUG_COUNTER(RegRenamingCounter, DEBUG_TYPE "-reg-renaming",
               "Controls which pairs are considered for renaming");
@@ -219,6 +221,9 @@ struct AArch64LoadStoreOpt {
   // Find and merge an index ldr/st instruction into a base ld/st instruction.
   bool tryToMergeIndexLdSt(MachineBasicBlock::iterator &MBBI, int Scale);
 
+  // Replace a UMOV (lane 0) + GPR store with a direct FPR sub-register store.
+  bool tryToReplaceUMOVStore(MachineBasicBlock::iterator &MBBI);
+
   bool optimizeBlock(MachineBasicBlock &MBB, bool EnableNarrowZeroStOpt);
 
   bool runOnMachineFunction(MachineFunction &MF);
@@ -3012,6 +3017,110 @@ bool AArch64LoadStoreOpt::tryToMergeIndexLdSt(MachineBasicBlock::iterator &MBBI,
   return false;
 }
 
+// Given a UMOV-lane-0 opcode and a GPR store opcode, return the corresponding
+// FPR store opcode and the sub-register index to extract from the vector, or
+// return false if the combination is not supported.
+static bool getUMOVToFPRStoreInfo(unsigned UMOVOpc, unsigned GPRStoreOpc,
+                                  unsigned &FPRStoreOpc, unsigned &SubRegIdx) {
+  switch (UMOVOpc) {
+  case AArch64::UMOVvi8_idx0:
+    if (GPRStoreOpc != AArch64::STRBBui)
+      return false;
+    FPRStoreOpc = AArch64::STRBui;
+    SubRegIdx = AArch64::bsub;
+    return true;
+  case AArch64::UMOVvi16_idx0:
+    if (GPRStoreOpc != AArch64::STRHHui)
+      return false;
+    FPRStoreOpc = AArch64::STRHui;
+    SubRegIdx = AArch64::hsub;
+    return true;
+  case AArch64::UMOVvi32_idx0:
+    if (GPRStoreOpc != AArch64::STRWui)
+      return false;
+    FPRStoreOpc = AArch64::STRSui;
+    SubRegIdx = AArch64::ssub;
+    return true;
+  case AArch64::UMOVvi64_idx0:
+    if (GPRStoreOpc != AArch64::STRXui)
+      return false;
+    FPRStoreOpc = AArch64::STRDui;
+    SubRegIdx = AArch64::dsub;
+    return true;
+  default:
+    return false;
+  }
+}
+
+bool AArch64LoadStoreOpt::tryToReplaceUMOVStore(
+    MachineBasicBlock::iterator &MBBI) {
+  MachineInstr &StoreMI = *MBBI;
+  unsigned StoreOpc = StoreMI.getOpcode();
+
+  if (StoreOpc != AArch64::STRBBui && StoreOpc != AArch64::STRHHui &&
+      StoreOpc != AArch64::STRWui && StoreOpc != AArch64::STRXui)
+    return false;
+
+  MachineBasicBlock *MBB = StoreMI.getParent();
+  unsigned FPRStoreOpc = 0, SubRegIdx = 0;
+  MCPhysReg StoreValReg = StoreMI.getOperand(0).getReg();
+
+  if (!StoreMI.getOperand(0).isKill())
+    return false;
+
+  // Scan backward to find the UMOV that defines the store's value register.
+  MachineInstr *UMOVMI = nullptr;
+  for (auto It = MBBI; It != MBB->begin() && !UMOVMI;) {
+    MachineInstr &MI = *--It;
+    if (MI.readsRegister(StoreValReg, TRI))
+      return false;
+    if (MI.definesRegister(StoreValReg, TRI)) {
+      if (!getUMOVToFPRStoreInfo(MI.getOpcode(), StoreMI.getOpcode(),
+                                 FPRStoreOpc, SubRegIdx))
+        return false;
+      UMOVMI = &MI;
+    }
+  }
+  if (!UMOVMI)
+    return false;
+
+  MCPhysReg VecReg = UMOVMI->getOperand(1).getReg();
+
+  // Check that no instruction between UMOV and store clobbers the vector
+  // register.  Also track whether VecReg is killed anywhere from the UMOV
+  // (inclusive) through the intervening instructions -- we need this to decide
+  // whether the FPR sub-register can be marked killed on the new store.
+  bool VecRegKilled = UMOVMI->killsRegister(VecReg, TRI);
+  for (auto It = std::next(UMOVMI->getIterator()); It != MBBI; ++It) {
+    if (It->modifiesRegister(VecReg, TRI))
+      return false;
+    if (!VecRegKilled && It->killsRegister(VecReg, TRI))
+      VecRegKilled = true;
+  }
+
+  // Safe to proceed. Clear kill flags on the vector register between UMOV and
+  // the new store so the FPR sub-register stays live.
+  UMOVMI->clearRegisterKills(VecReg, TRI);
+  for (auto It = std::next(UMOVMI->getIterator()); It != MBBI; ++It)
+    It->clearRegisterKills(VecReg, TRI);
+
+  LLVM_DEBUG(dbgs() << "Folding UMOV + store: " << *UMOVMI << "  + "
+                    << StoreMI);
+
+  MCPhysReg FPRReg = TRI->getSubReg(VecReg, SubRegIdx);
+  BuildMI(*MBB, MBBI, StoreMI.getDebugLoc(), TII->get(FPRStoreOpc))
+      .addReg(FPRReg, getKillRegState(VecRegKilled))
+      .add(StoreMI.getOperand(1))
+      .add(StoreMI.getOperand(2))
+      .setMemRefs(StoreMI.memoperands());
+
+  MBBI = MBB->erase(MBBI);
+  UMOVMI->eraseFromParent();
+
+  ++NumUMOVFoldedToFPRStore;
+  return true;
+}
+
 bool AArch64LoadStoreOpt::optimizeBlock(MachineBasicBlock &MBB,
                                         bool EnableNarrowZeroStOpt) {
   AArch64FunctionInfo &AFI = *MBB.getParent()->getInfo<AArch64FunctionInfo>();
@@ -3114,6 +3223,20 @@ bool AArch64LoadStoreOpt::optimizeBlock(MachineBasicBlock &MBB,
       ++MBBI;
   }
 
+  // 6) Replace UMOV (lane 0) + GPR store with a direct FPR sub-register store.
+  //      e.g.,
+  //        umov w8, v0.h[0]
+  //        strh w8, [x0]
+  //        ; becomes
+  //        str h0, [x0]
+  for (MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end();
+       MBBI != E;) {
+    if (tryToReplaceUMOVStore(MBBI))
+      Modified = true;
+    else
+      ++MBBI;
+  }
+
   return Modified;
 }
 
diff --git a/llvm/test/CodeGen/AArch64/ldst-opt-umov-fpr-store.mir b/llvm/test/CodeGen/AArch64/ldst-opt-umov-fpr-store.mir
new file mode 100644
index 0000000000000..5758cbebdb376
--- /dev/null
+++ b/llvm/test/CodeGen/AArch64/ldst-opt-umov-fpr-store.mir
@@ -0,0 +1,169 @@
+# RUN: llc -mtriple=aarch64-linux-gnu -run-pass=aarch64-ldst-opt -o - %s | FileCheck %s
+
+# Test that UMOV (lane 0) + GPR store is folded into a direct FPR store
+# when the UMOV result has no other uses.
+
+---
+# UMOVvi16_idx0 + STRHHui → STRHui, with intervening ST1i8 that kills the
+# vector register.
+# CHECK-LABEL: name: umov_i16_to_fpr_store
+# CHECK:       ST1i8 renamable $q0
+# CHECK-NEXT:  STRHui killed $h0
+# CHECK-NOT:   UMOVvi16_idx0
+# CHECK-NOT:   STRHHui
+name:            umov_i16_to_fpr_store
+tracksRegLiveness: true
+body:             |
+  bb.0:
+    liveins: $q0, $x0, $x1
+
+    renamable $w8 = UMOVvi16_idx0 renamable $q0, 0
+    ST1i8 killed renamable $q0, 8, killed renamable $x1 :: (store (s8))
+    STRHHui killed renamable $w8, killed renamable $x0, 0 :: (store (s16))
+    RET undef $lr
+...
+---
+# UMOVvi8_idx0 + STRBBui → STRBui
+# CHECK-LABEL: name: umov_i8_to_fpr_store
+# CHECK:       STRBui killed $b0
+# CHECK-NOT:   UMOVvi8_idx0
+# CHECK-NOT:   STRBBui
+name:            umov_i8_to_fpr_store
+tracksRegLiveness: true
+body:             |
+  bb.0:
+    liveins: $q0, $x0
+
+    renamable $w8 = UMOVvi8_idx0 killed renamable $q0, 0
+    STRBBui killed renamable $w8, killed renamable $x0, 0 :: (store (s8))
+    RET undef $lr
+...
+---
+# UMOVvi32_idx0 + STRWui → STRSui
+# CHECK-LABEL: name: umov_i32_to_fpr_store
+# CHECK:       STRSui killed $s0
+# CHECK-NOT:   UMOVvi32_idx0
+# CHECK-NOT:   STRWui
+name:            umov_i32_to_fpr_store
+tracksRegLiveness: true
+body:             |
+  bb.0:
+    liveins: $q0, $x0
+
+    renamable $w8 = UMOVvi32_idx0 killed renamable $q0, 0
+    STRWui killed renamable $w8, killed renamable $x0, 0 :: (store (s32))
+    RET undef $lr
+...
+---
+# UMOVvi64_idx0 + STRXui → STRDui
+# CHECK-LABEL: name: umov_i64_to_fpr_store
+# CHECK:       STRDui killed $d0
+# CHECK-NOT:   UMOVvi64_idx0
+# CHECK-NOT:   STRXui
+name:            umov_i64_to_fpr_store
+tracksRegLiveness: true
+body:             |
+  bb.0:
+    liveins: $q0, $x0
+
+    renamable $x8 = UMOVvi64_idx0 killed renamable $q0, 0
+    STRXui killed renamable $x8, killed renamable $x0, 0 :: (store (s64))
+    RET undef $lr
+...
+---
+# Negative: UMOV result is modified before the store.
+# CHECK-LABEL: name: umov_i16_used_before_store
+# CHECK:       UMOVvi16_idx0
+# CHECK:       EORWrr
+# CHECK:       STRHHui
+name:            umov_i16_used_before_store
+tracksRegLiveness: true
+body:             |
+  bb.0:
+    liveins: $q0, $x0, $w9
+
+    renamable $w8 = UMOVvi16_idx0 killed renamable $q0, 0
+    renamable $w8 = EORWrr killed renamable $w8, killed renamable $w9
+    STRHHui killed renamable $w8, killed renamable $x0, 0 :: (store (s16))
+    RET undef $lr
+...
+---
+# Negative: The vector register is clobbered between UMOV and store.
+# CHECK-LABEL: name: umov_i16_vec_clobbered
+# CHECK:       UMOVvi16_idx0
+# CHECK:       ORRv16i8
+# CHECK:       STRHHui
+name:            umov_i16_vec_clobbered
+tracksRegLiveness: true
+body:             |
+  bb.0:
+    liveins: $q0, $q1, $x0
+
+    renamable $w8 = UMOVvi16_idx0 renamable $q0, 0
+    renamable $q0 = ORRv16i8 killed renamable $q0, killed renamable $q1
+    STRHHui killed renamable $w8, killed renamable $x0, 0 :: (store (s16))
+    RET undef $lr
+...
+---
+# Negative: The GPR result is not killed at the store (has a later use).
+# CHECK-LABEL: name: umov_i16_not_killed
+# CHECK:       UMOVvi16_idx0
+# CHECK:       STRHHui renamable $w8
+# CHECK:       STRHHui killed renamable $w8
+name:            umov_i16_not_killed
+tracksRegLiveness: true
+body:             |
+  bb.0:
+    liveins: $q0, $x0, $x1
+
+    renamable $w8 = UMOVvi16_idx0 killed renamable $q0, 0
+    STRHHui renamable $w8, renamable $x0, 0 :: (store (s16))
+    STRHHui killed renamable $w8, killed renamable $x1, 0 :: (store (s16))
+    RET undef $lr
+...
+---
+# Multiple folds in one block: two independent UMOV+store pairs using
+# different vector registers and different element sizes.
+# CHECK-LABEL: name: umov_multiple_folds
+# CHECK:       ORRv16i8
+# CHECK-NEXT:  ST1i8 renamable $q0
+# CHECK-NEXT:  STRHui killed $h0
+# CHECK-NEXT:  STRSui killed $s1
+# CHECK-NOT:   UMOVvi16_idx0
+# CHECK-NOT:   UMOVvi32_idx0
+# CHECK-NOT:   STRHHui
+# CHECK-NOT:   STRWui
+name:            umov_multiple_folds
+tracksRegLiveness: true
+body:             |
+  bb.0:
+    liveins: $q0, $q1, $x0, $x1, $x2
+
+    renamable $q0 = ORRv16i8 killed renamable $q0, renamable $q1
+    renamable $w8 = UMOVvi16_idx0 renamable $q0, 0
+    ST1i8 killed renamable $q0, 8, killed renamable $x2 :: (store (s8))
+    STRHHui killed renamable $w8, killed renamable $x0, 0 :: (store (s16))
+    renamable $w9 = UMOVvi32_idx0 killed renamable $q1, 0
+    STRWui killed renamable $w9, killed renamable $x1, 0 :: (store (s32))
+    RET undef $lr
+...
+---
+# Vector register still live after the store (used via $s0 alias).
+# The fold should happen but the FPR sub-register must NOT be killed.
+# CHECK-LABEL: name: umov_i16_vec_live_after_store
+# CHECK:       STRHui $h0
+# CHECK-NEXT:  renamable $w9 = FMOVSWr renamable $s0
+# CHECK-NOT:   UMOVvi16_idx0
+# CHECK-NOT:   STRHHui
+name:            umov_i16_vec_live_after_store
+tracksRegLiveness: true
+body:             |
+  bb.0:
+    liveins: $q0, $x0, $x1
+
+    renamable $w8 = UMOVvi16_idx0 renamable $q0, 0
+    STRHHui killed renamable $w8, killed renamable $x0, 0 :: (store (s16))
+    renamable $w9 = FMOVSWr renamable $s0
+    STRWui killed renamable $w9, killed renamable $x1, 0 :: (store (s32))
+    RET undef $lr
+...

@github-actions
Copy link
Copy Markdown

🪟 Windows x64 Test Results

  • 134977 tests passed
  • 3317 tests skipped
  • 2 tests failed

Failed Tests

(click on a test name to see its output)

LLVM

LLVM.CodeGen/PowerPC/fast-isel-cmp-imm.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\fast-isel-cmp-imm.ll -O0 -verify-machineinstrs -fast-isel-abort=1 -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 -mattr=-vsx | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\fast-isel-cmp-imm.ll --check-prefix=ELF64
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -O0 -verify-machineinstrs -fast-isel-abort=1 -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 -mattr=-vsx
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\fast-isel-cmp-imm.ll' --check-prefix=ELF64
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\fast-isel-cmp-imm.ll -O0 -verify-machineinstrs -fast-isel-abort=1 -mtriple=powerpc64le-unknown-linux-gnu -mattr=+vsx | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\fast-isel-cmp-imm.ll --check-prefix=VSX
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -O0 -verify-machineinstrs -fast-isel-abort=1 -mtriple=powerpc64le-unknown-linux-gnu -mattr=+vsx
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\fast-isel-cmp-imm.ll' --check-prefix=VSX
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\llc.exe < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\fast-isel-cmp-imm.ll -O0 -verify-machineinstrs -fast-isel-abort=1 -mtriple=powerpc-unknown-linux-gnu -mcpu=e500 -mattr=spe | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\fast-isel-cmp-imm.ll --check-prefix=SPE
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -O0 -verify-machineinstrs -fast-isel-abort=1 -mtriple=powerpc-unknown-linux-gnu -mcpu=e500 -mattr=spe
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\fast-isel-cmp-imm.ll' --check-prefix=SPE
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\fast-isel-cmp-imm.ll:19:8: error: SPE: expected string not found in input
# | ; SPE: efscmpeq
# |        ^
# | <stdin>:11:12: note: scanning from here
# | t1a: # @t1a
# |            ^
# | <stdin>:12:2: note: possible intended match here
# | .Lfunc_begin0:
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\fast-isel-cmp-imm.ll:42:8: error: SPE: expected string not found in input
# | ; SPE: efscmpeq
# |        ^
# | <stdin>:43:12: note: scanning from here
# | t1b: # @t1b
# |            ^
# | <stdin>:44:2: note: possible intended match here
# | .Lfunc_begin1:
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\fast-isel-cmp-imm.ll:65:8: error: SPE: expected string not found in input
# | ; SPE: efscmpeq
# |        ^
# | <stdin>:75:12: note: scanning from here
# | t1c: # @t1c
# |            ^
# | <stdin>:76:2: note: possible intended match here
# | .Lfunc_begin2:
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\fast-isel-cmp-imm.ll:88:8: error: SPE: expected string not found in input
# | ; SPE: efdcmpeq
# |        ^
# | <stdin>:108:12: note: scanning from here
# | t2a: # @t2a
# |            ^
# | <stdin>:109:2: note: possible intended match here
# | .Lfunc_begin3:
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\fast-isel-cmp-imm.ll:111:8: error: SPE: expected string not found in input
# | ; SPE: efdcmpeq
# |        ^
# | <stdin>:149:12: note: scanning from here
# | t2b: # @t2b
# |            ^
# | <stdin>:150:2: note: possible intended match here
# | .Lfunc_begin4:
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\fast-isel-cmp-imm.ll:134:8: error: SPE: expected string not found in input
# | ; SPE: efdcmpeq
# |        ^
# | <stdin>:190:12: note: scanning from here
# | t2c: # @t2c
# |            ^
# | <stdin>:191:2: note: possible intended match here
# | .Lfunc_begin5:
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\fast-isel-cmp-imm.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |              6:  .text 
# |              7:  .globl t1a 
# |              8:  .p2align 2 
# |              9:  .prefalign 4, .Lfunc_end0, nop 
# |             10:  .type t1a,@function 
# |             11: t1a: # @t1a 
# | check:19'0                 X error: no match found
# |             12: .Lfunc_begin0: 
# | check:19'0      ~~~~~~~~~~~~~~~
# | check:19'1       ?              possible intended match
# |             13: # %bb.0: # %entry 
# | check:19'0      ~~~~~~~~~~~~~~~~~~
# |             14:  mflr 0 
# | check:19'0      ~~~~~~~~
# |             15:  stwu 1, -16(1) 
# | check:19'0      ~~~~~~~~~~~~~~~~
# |             16:  stw 0, 20(1) 
# | check:19'0      ~~~~~~~~~~~~~~
# |             17:  lis 4, .LCPI0_0@ha 
# | check:19'0      ~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |             38:  .text 
# | check:19'0      ~~~~~~~
# |             39:  .globl t1b 
# | check:19'0      ~~~~~~~~~~~~
# |             40:  .p2align 2 
# | check:19'0      ~~~~~~~~~~~~
# |             41:  .prefalign 4, .Lfunc_end1, nop 
# | check:19'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             42:  .type t1b,@function 
# | check:19'0      ~~~~~~~~~~~~~~~~~~~~~
# |             43: t1b: # @t1b 
# | check:19'0      ~~~~~~~~~~~
# | check:42'0                 X error: no match found
# |             44: .Lfunc_begin1: 
# | check:42'0      ~~~~~~~~~~~~~~~
# | check:42'1       ?              possible intended match
# |             45: # %bb.0: # %entry 
# | check:42'0      ~~~~~~~~~~~~~~~~~~
# |             46:  mflr 0 
# | check:42'0      ~~~~~~~~
# |             47:  stwu 1, -16(1) 
# | check:42'0      ~~~~~~~~~~~~~~~~
# |             48:  stw 0, 20(1) 
# | check:42'0      ~~~~~~~~~~~~~~
# |             49:  lis 4, .LCPI1_0@ha 
# | check:42'0      ~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |             70:  .text 
# | check:42'0      ~~~~~~~
# |             71:  .globl t1c 
# | check:42'0      ~~~~~~~~~~~~
# |             72:  .p2align 2 
# | check:42'0      ~~~~~~~~~~~~
# |             73:  .prefalign 4, .Lfunc_end2, nop 
# | check:42'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             74:  .type t1c,@function 
# | check:42'0      ~~~~~~~~~~~~~~~~~~~~~
# |             75: t1c: # @t1c 
# | check:42'0      ~~~~~~~~~~~
# | check:65'0                 X error: no match found
# |             76: .Lfunc_begin2: 
# | check:65'0      ~~~~~~~~~~~~~~~
# | check:65'1       ?              possible intended match
# |             77: # %bb.0: # %entry 
# | check:65'0      ~~~~~~~~~~~~~~~~~~
# |             78:  mflr 0 
# | check:65'0      ~~~~~~~~
# |             79:  stwu 1, -16(1) 
# | check:65'0      ~~~~~~~~~~~~~~~~
# |             80:  stw 0, 20(1) 
# | check:65'0      ~~~~~~~~~~~~~~
# |             81:  lis 4, .LCPI2_0@ha 
# | check:65'0      ~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            103:  .text 
# | check:65'0      ~~~~~~~
# |            104:  .globl t2a 
# | check:65'0      ~~~~~~~~~~~~
# |            105:  .p2align 2 
# | check:65'0      ~~~~~~~~~~~~
# |            106:  .prefalign 4, .Lfunc_end3, nop 
# | check:65'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            107:  .type t2a,@function 
# | check:65'0      ~~~~~~~~~~~~~~~~~~~~~
# |            108: t2a: # @t2a 
# | check:65'0      ~~~~~~~~~~~
# | check:88'0                 X error: no match found
# |            109: .Lfunc_begin3: 
# | check:88'0      ~~~~~~~~~~~~~~~
# | check:88'1       ?              possible intended match
# |            110: # %bb.0: # %entry 
# | check:88'0      ~~~~~~~~~~~~~~~~~~
# |            111:  mflr 0 
# | check:88'0      ~~~~~~~~
# |            112:  stwu 1, -16(1) 
# | check:88'0      ~~~~~~~~~~~~~~~~
# |            113:  stw 0, 20(1) 
# | check:88'0      ~~~~~~~~~~~~~~
# |            114:  evmergelo 3, 3, 4 
# | check:88'0      ~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            144:  .text 
# | check:88'0      ~~~~~~~
# |            145:  .globl t2b 
# | check:88'0      ~~~~~~~~~~~~
# |            146:  .p2align 2 
# | check:88'0      ~~~~~~~~~~~~
# |            147:  .prefalign 4, .Lfunc_end4, nop 
# | check:88'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            148:  .type t2b,@function 
# | check:88'0      ~~~~~~~~~~~~~~~~~~~~~
# |            149: t2b: # @t2b 
# | check:88'0      ~~~~~~~~~~~
# | check:111'0                X error: no match found
# |            150: .Lfunc_begin4: 
# | check:111'0     ~~~~~~~~~~~~~~~
# | check:111'1      ?              possible intended match
# |            151: # %bb.0: # %entry 
# | check:111'0     ~~~~~~~~~~~~~~~~~~
# |            152:  mflr 0 
# | check:111'0     ~~~~~~~~
# |            153:  stwu 1, -16(1) 
# | check:111'0     ~~~~~~~~~~~~~~~~
# |            154:  stw 0, 20(1) 
# | check:111'0     ~~~~~~~~~~~~~~
# |            155:  evmergelo 3, 3, 4 
# | check:111'0     ~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            185:  .text 
# | check:111'0     ~~~~~~~
# |            186:  .globl t2c 
# | check:111'0     ~~~~~~~~~~~~
# |            187:  .p2align 2 
# | check:111'0     ~~~~~~~~~~~~
# |            188:  .prefalign 4, .Lfunc_end5, nop 
# | check:111'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            189:  .type t2c,@function 
# | check:111'0     ~~~~~~~~~~~~~~~~~~~~~
# |            190: t2c: # @t2c 
# | check:111'0     ~~~~~~~~~~~
# | check:134'0                X error: no match found
# |            191: .Lfunc_begin5: 
# | check:134'0     ~~~~~~~~~~~~~~~
# | check:134'1      ?              possible intended match
# |            192: # %bb.0: # %entry 
# | check:134'0     ~~~~~~~~~~~~~~~~~~
# |            193:  mflr 0 
# | check:134'0     ~~~~~~~~
# |            194:  stwu 1, -16(1) 
# | check:134'0     ~~~~~~~~~~~~~~~~
# |            195:  stw 0, 20(1) 
# | check:134'0     ~~~~~~~~~~~~~~
# |            196:  evmergelo 3, 3, 4 
# | check:134'0     ~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.tools/llvm-gsymutil/X86/elf-dwo.yaml
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 5
c:\_work\llvm-project\llvm-project\build\bin\yaml2obj.exe C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-gsymutil\X86\elf-dwo.yaml -o C:\_work\llvm-project\llvm-project\build\test\tools\llvm-gsymutil\X86\Output\elf-dwo.yaml.tmp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\yaml2obj.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-gsymutil\X86\elf-dwo.yaml' -o 'C:\_work\llvm-project\llvm-project\build\test\tools\llvm-gsymutil\X86\Output\elf-dwo.yaml.tmp'
# note: command had no output on stdout or stderr
# RUN: at line 6
llvm-gsymutil --convert=C:\_work\llvm-project\llvm-project\build\test\tools\llvm-gsymutil\X86\Output\elf-dwo.yaml.tmp -o C:\_work\llvm-project\llvm-project\build\test\tools\llvm-gsymutil\X86\Output\elf-dwo.yaml.tmp.gsym | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-gsymutil\X86\elf-dwo.yaml --check-prefix=WARNING
# executed command: llvm-gsymutil '--convert=C:\_work\llvm-project\llvm-project\build\test\tools\llvm-gsymutil\X86\Output\elf-dwo.yaml.tmp' -o 'C:\_work\llvm-project\llvm-project\build\test\tools\llvm-gsymutil\X86\Output\elf-dwo.yaml.tmp.gsym'
# .---command stderr------------
# | Assertion failed: Die >= DieArray.data() && Die < DieArray.data() + DieArray.size(), file C:\_work\llvm-project\llvm-project\llvm\lib\DebugInfo\DWARF\DWARFUnit.cpp, line 1028
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | Exception Code: 0xC000001D
# |  #0 0x00007ff66f0413a6 (c:\_work\llvm-project\llvm-project\build\bin\llvm-gsymutil.exe+0x1a13a6)
# |  #1 0x00007ff8826fbb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# |  #2 0x00007ff8826fcad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# |  #3 0x00007ff8826fe4a1 (C:\Windows\System32\ucrtbase.dll+0x7e4a1)
# |  #4 0x00007ff8826fe6e1 (C:\Windows\System32\ucrtbase.dll+0x7e6e1)
# |  #5 0x00007ff6706a4082 (c:\_work\llvm-project\llvm-project\build\bin\llvm-gsymutil.exe+0x1804082)
# |  #6 0x00007ff6706a3ff4 (c:\_work\llvm-project\llvm-project\build\bin\llvm-gsymutil.exe+0x1803ff4)
# |  #7 0x00007ff670695bcd (c:\_work\llvm-project\llvm-project\build\bin\llvm-gsymutil.exe+0x17f5bcd)
# |  #8 0x00007ff66efcb970 (c:\_work\llvm-project\llvm-project\build\bin\llvm-gsymutil.exe+0x12b970)
# |  #9 0x00007ff66efd7240 (c:\_work\llvm-project\llvm-project\build\bin\llvm-gsymutil.exe+0x137240)
# | #10 0x00007ff66efd4999 (c:\_work\llvm-project\llvm-project\build\bin\llvm-gsymutil.exe+0x134999)
# | #11 0x00007ff66efd446b (c:\_work\llvm-project\llvm-project\build\bin\llvm-gsymutil.exe+0x13446b)
# | #12 0x00007ff66efd425e (c:\_work\llvm-project\llvm-project\build\bin\llvm-gsymutil.exe+0x13425e)
# | #13 0x00007ff6706f16ba (c:\_work\llvm-project\llvm-project\build\bin\llvm-gsymutil.exe+0x18516ba)
# | #14 0x00007ff6706f2e3e (c:\_work\llvm-project\llvm-project\build\bin\llvm-gsymutil.exe+0x1852e3e)
# | #15 0x00007ff8826a6b4c (C:\Windows\System32\ucrtbase.dll+0x26b4c)
# | #16 0x00007ff88a3e4cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #17 0x00007ff8943fedcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# `-----------------------------
# error: command failed with exit status: 0xc000001d
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-gsymutil\X86\elf-dwo.yaml' --check-prefix=WARNING
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-gsymutil\X86\elf-dwo.yaml:12:13: error: WARNING: expected string not found in input
# | ## WARNING: Loaded 0 functions from DWARF.
# |             ^
# | <stdin>:3:76: note: scanning from here
# | warning: Unable to retrieve DWO .debug_info section for main_split-main.dwo
# |                                                                            ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-gsymutil\X86\elf-dwo.yaml
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           1: Input file: C:\_work\llvm-project\llvm-project\build\test\tools\llvm-gsymutil\X86\Output\elf-dwo.yaml.tmp 
# |           2: Output file (x86_64): C:\_work\llvm-project\llvm-project\build\test\tools\llvm-gsymutil\X86\Output\elf-dwo.yaml.tmp.gsym 
# |           3: warning: Unable to retrieve DWO .debug_info section for main_split-main.dwo 
# | check:12                                                                                X error: no match found
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the infrastructure label.

@github-actions
Copy link
Copy Markdown

🐧 Linux x64 Test Results

  • 174597 tests passed
  • 3374 tests skipped
  • 1 test failed

Failed Tests

(click on a test name to see its output)

LLVM

LLVM.CodeGen/PowerPC/fast-isel-cmp-imm.ll (Likely Already Failing) This test is already failing at the base commit.
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/fast-isel-cmp-imm.ll -O0 -verify-machineinstrs -fast-isel-abort=1 -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 -mattr=-vsx | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/fast-isel-cmp-imm.ll --check-prefix=ELF64
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -verify-machineinstrs -fast-isel-abort=1 -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 -mattr=-vsx
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/fast-isel-cmp-imm.ll --check-prefix=ELF64
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/fast-isel-cmp-imm.ll -O0 -verify-machineinstrs -fast-isel-abort=1 -mtriple=powerpc64le-unknown-linux-gnu -mattr=+vsx | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/fast-isel-cmp-imm.ll --check-prefix=VSX
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -verify-machineinstrs -fast-isel-abort=1 -mtriple=powerpc64le-unknown-linux-gnu -mattr=+vsx
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/fast-isel-cmp-imm.ll --check-prefix=VSX
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/fast-isel-cmp-imm.ll -O0 -verify-machineinstrs -fast-isel-abort=1 -mtriple=powerpc-unknown-linux-gnu -mcpu=e500 -mattr=spe | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/fast-isel-cmp-imm.ll --check-prefix=SPE
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -verify-machineinstrs -fast-isel-abort=1 -mtriple=powerpc-unknown-linux-gnu -mcpu=e500 -mattr=spe
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/fast-isel-cmp-imm.ll --check-prefix=SPE
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/fast-isel-cmp-imm.ll:19:8: error: SPE: expected string not found in input
# | ; SPE: efscmpeq
# |        ^
# | <stdin>:11:12: note: scanning from here
# | t1a: # @t1a
# |            ^
# | <stdin>:12:2: note: possible intended match here
# | .Lfunc_begin0:
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/fast-isel-cmp-imm.ll:42:8: error: SPE: expected string not found in input
# | ; SPE: efscmpeq
# |        ^
# | <stdin>:43:12: note: scanning from here
# | t1b: # @t1b
# |            ^
# | <stdin>:44:2: note: possible intended match here
# | .Lfunc_begin1:
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/fast-isel-cmp-imm.ll:65:8: error: SPE: expected string not found in input
# | ; SPE: efscmpeq
# |        ^
# | <stdin>:75:12: note: scanning from here
# | t1c: # @t1c
# |            ^
# | <stdin>:76:2: note: possible intended match here
# | .Lfunc_begin2:
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/fast-isel-cmp-imm.ll:88:8: error: SPE: expected string not found in input
# | ; SPE: efdcmpeq
# |        ^
# | <stdin>:108:12: note: scanning from here
# | t2a: # @t2a
# |            ^
# | <stdin>:109:2: note: possible intended match here
# | .Lfunc_begin3:
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/fast-isel-cmp-imm.ll:111:8: error: SPE: expected string not found in input
# | ; SPE: efdcmpeq
# |        ^
# | <stdin>:149:12: note: scanning from here
# | t2b: # @t2b
# |            ^
# | <stdin>:150:2: note: possible intended match here
# | .Lfunc_begin4:
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/fast-isel-cmp-imm.ll:134:8: error: SPE: expected string not found in input
# | ; SPE: efdcmpeq
# |        ^
# | <stdin>:190:12: note: scanning from here
# | t2c: # @t2c
# |            ^
# | <stdin>:191:2: note: possible intended match here
# | .Lfunc_begin5:
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/fast-isel-cmp-imm.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |              6:  .text 
# |              7:  .globl t1a 
# |              8:  .p2align 2 
# |              9:  .prefalign 4, .Lfunc_end0, nop 
# |             10:  .type t1a,@function 
# |             11: t1a: # @t1a 
# | check:19'0                 X error: no match found
# |             12: .Lfunc_begin0: 
# | check:19'0      ~~~~~~~~~~~~~~~
# | check:19'1       ?              possible intended match
# |             13: # %bb.0: # %entry 
# | check:19'0      ~~~~~~~~~~~~~~~~~~
# |             14:  mflr 0 
# | check:19'0      ~~~~~~~~
# |             15:  stwu 1, -16(1) 
# | check:19'0      ~~~~~~~~~~~~~~~~
# |             16:  stw 0, 20(1) 
# | check:19'0      ~~~~~~~~~~~~~~
# |             17:  lis 4, .LCPI0_0@ha 
# | check:19'0      ~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |             38:  .text 
# | check:19'0      ~~~~~~~
# |             39:  .globl t1b 
# | check:19'0      ~~~~~~~~~~~~
# |             40:  .p2align 2 
# | check:19'0      ~~~~~~~~~~~~
# |             41:  .prefalign 4, .Lfunc_end1, nop 
# | check:19'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             42:  .type t1b,@function 
# | check:19'0      ~~~~~~~~~~~~~~~~~~~~~
# |             43: t1b: # @t1b 
# | check:19'0      ~~~~~~~~~~~
# | check:42'0                 X error: no match found
# |             44: .Lfunc_begin1: 
# | check:42'0      ~~~~~~~~~~~~~~~
# | check:42'1       ?              possible intended match
# |             45: # %bb.0: # %entry 
# | check:42'0      ~~~~~~~~~~~~~~~~~~
# |             46:  mflr 0 
# | check:42'0      ~~~~~~~~
# |             47:  stwu 1, -16(1) 
# | check:42'0      ~~~~~~~~~~~~~~~~
# |             48:  stw 0, 20(1) 
# | check:42'0      ~~~~~~~~~~~~~~
# |             49:  lis 4, .LCPI1_0@ha 
# | check:42'0      ~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |             70:  .text 
# | check:42'0      ~~~~~~~
# |             71:  .globl t1c 
# | check:42'0      ~~~~~~~~~~~~
# |             72:  .p2align 2 
# | check:42'0      ~~~~~~~~~~~~
# |             73:  .prefalign 4, .Lfunc_end2, nop 
# | check:42'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             74:  .type t1c,@function 
# | check:42'0      ~~~~~~~~~~~~~~~~~~~~~
# |             75: t1c: # @t1c 
# | check:42'0      ~~~~~~~~~~~
# | check:65'0                 X error: no match found
# |             76: .Lfunc_begin2: 
# | check:65'0      ~~~~~~~~~~~~~~~
# | check:65'1       ?              possible intended match
# |             77: # %bb.0: # %entry 
# | check:65'0      ~~~~~~~~~~~~~~~~~~
# |             78:  mflr 0 
# | check:65'0      ~~~~~~~~
# |             79:  stwu 1, -16(1) 
# | check:65'0      ~~~~~~~~~~~~~~~~
# |             80:  stw 0, 20(1) 
# | check:65'0      ~~~~~~~~~~~~~~
# |             81:  lis 4, .LCPI2_0@ha 
# | check:65'0      ~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            103:  .text 
# | check:65'0      ~~~~~~~
# |            104:  .globl t2a 
# | check:65'0      ~~~~~~~~~~~~
# |            105:  .p2align 2 
# | check:65'0      ~~~~~~~~~~~~
# |            106:  .prefalign 4, .Lfunc_end3, nop 
# | check:65'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            107:  .type t2a,@function 
# | check:65'0      ~~~~~~~~~~~~~~~~~~~~~
# |            108: t2a: # @t2a 
# | check:65'0      ~~~~~~~~~~~
# | check:88'0                 X error: no match found
# |            109: .Lfunc_begin3: 
# | check:88'0      ~~~~~~~~~~~~~~~
# | check:88'1       ?              possible intended match
# |            110: # %bb.0: # %entry 
# | check:88'0      ~~~~~~~~~~~~~~~~~~
# |            111:  mflr 0 
# | check:88'0      ~~~~~~~~
# |            112:  stwu 1, -16(1) 
# | check:88'0      ~~~~~~~~~~~~~~~~
# |            113:  stw 0, 20(1) 
# | check:88'0      ~~~~~~~~~~~~~~
# |            114:  evmergelo 3, 3, 4 
# | check:88'0      ~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            144:  .text 
# | check:88'0      ~~~~~~~
# |            145:  .globl t2b 
# | check:88'0      ~~~~~~~~~~~~
# |            146:  .p2align 2 
# | check:88'0      ~~~~~~~~~~~~
# |            147:  .prefalign 4, .Lfunc_end4, nop 
# | check:88'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            148:  .type t2b,@function 
# | check:88'0      ~~~~~~~~~~~~~~~~~~~~~
# |            149: t2b: # @t2b 
# | check:88'0      ~~~~~~~~~~~
# | check:111'0                X error: no match found
# |            150: .Lfunc_begin4: 
# | check:111'0     ~~~~~~~~~~~~~~~
# | check:111'1      ?              possible intended match
# |            151: # %bb.0: # %entry 
# | check:111'0     ~~~~~~~~~~~~~~~~~~
# |            152:  mflr 0 
# | check:111'0     ~~~~~~~~
# |            153:  stwu 1, -16(1) 
# | check:111'0     ~~~~~~~~~~~~~~~~
# |            154:  stw 0, 20(1) 
# | check:111'0     ~~~~~~~~~~~~~~
# |            155:  evmergelo 3, 3, 4 
# | check:111'0     ~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            185:  .text 
# | check:111'0     ~~~~~~~
# |            186:  .globl t2c 
# | check:111'0     ~~~~~~~~~~~~
# |            187:  .p2align 2 
# | check:111'0     ~~~~~~~~~~~~
# |            188:  .prefalign 4, .Lfunc_end5, nop 
# | check:111'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            189:  .type t2c,@function 
# | check:111'0     ~~~~~~~~~~~~~~~~~~~~~
# |            190: t2c: # @t2c 
# | check:111'0     ~~~~~~~~~~~
# | check:134'0                X error: no match found
# |            191: .Lfunc_begin5: 
# | check:134'0     ~~~~~~~~~~~~~~~
# | check:134'1      ?              possible intended match
# |            192: # %bb.0: # %entry 
# | check:134'0     ~~~~~~~~~~~~~~~~~~
# |            193:  mflr 0 
# | check:134'0     ~~~~~~~~
# |            194:  stwu 1, -16(1) 
# | check:134'0     ~~~~~~~~~~~~~~~~
# |            195:  stw 0, 20(1) 
# | check:134'0     ~~~~~~~~~~~~~~
# |            196:  evmergelo 3, 3, 4 
# | check:134'0     ~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the infrastructure label.

Copy link
Copy Markdown
Contributor

@davemgreen davemgreen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have an llvm ir test case for this, to show where it comes up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AArch64: uses store from GP reg where vectorized reg would be better

2 participants