[llvm] [CodeGen] Add generic INIT_UNDEF pseudo (PR #106744)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 2 08:08:47 PDT 2024
================
@@ -1254,6 +1254,13 @@ def IMPLICIT_DEF : StandardPseudoInstruction {
let isAsCheapAsAMove = true;
let isMeta = true;
}
+def INIT_UNDEF : StandardPseudoInstruction {
+ let OutOperandList = (outs unknown:$dst);
+ let InOperandList = (ins);
+ let AsmString = "";
+ let hasSideEffects = false;
+ let Size = 0;
----------------
nikic wrote:
For the record, I tried reusing IMPLICIT_DEF but based on the resulting RISCV test diffs at least that doesn't work (I saw some `vrgather.vi` with equal registers with that change).
https://github.com/llvm/llvm-project/pull/106744
More information about the llvm-commits
mailing list