[llvm] [WIP][RFC] Teach MCA constant registers do not create dependencies (PR #89387)

Michael Maitland via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 19 07:50:17 PDT 2024


================
@@ -382,6 +385,10 @@ class MCRegisterInfo {
     return RegStrings + get(RegNo).Name;
   }
 
+  bool isConstant(MCRegister RegNo) const {
----------------
michaelmaitland wrote:

Can you add a docstring to this function?

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


More information about the llvm-commits mailing list