[llvm] [CodeGen] [ARM] Make RISC-V Init Undef Pass Target Independent and add support for the ARM Architecture. (PR #77770)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 30 06:07:28 PST 2024


================
@@ -2223,6 +2223,25 @@ class TargetInstrInfo : public MCInstrInfo {
     llvm_unreachable("unknown number of operands necessary");
   }
 
+  virtual unsigned getUndefInitOpcode(unsigned RegClassID) const {
----------------
ostannard wrote:

These should all have doxygen comments (triple forward-slash) explaining what they should do.

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


More information about the llvm-commits mailing list