[llvm] [GlobalISel] Support physical register inputs in nested patterns (PR #121239)

Evgenii Kudriashov via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 1 17:08:24 PST 2025


================
@@ -1412,15 +1412,15 @@ Expected<BuildMIAction &> GlobalISelEmitter::createAndImportInstructionRenderer(
   action_iterator InsertPt = InsertPtOrError.get();
   BuildMIAction &DstMIBuilder = *static_cast<BuildMIAction *>(InsertPt->get());
 
-  for (auto PhysInput : InsnMatcher.getPhysRegInputs()) {
+  for (auto PhysOp : M.physoperands()) {
----------------
e-kud wrote:

Sure. Done.

https://github.com/llvm/llvm-project/pull/121239


More information about the llvm-commits mailing list