[llvm] [GlobalISel] Support physical register inputs in nested patterns (PR #121239)
Sergei Barannikov via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 28 09:39:10 PST 2024
================
@@ -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()) {
----------------
s-barannikov wrote:
Can you delete `getPhysRegInputs` and the map it uses?
https://github.com/llvm/llvm-project/pull/121239
More information about the llvm-commits
mailing list