[llvm] [AMDGPU] Allow SCC-only implicit defs and mark SOP2 SALU as rematerializable (PR #187084)

Romanov Vlad via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 14 06:38:26 PDT 2026


================
@@ -197,6 +198,14 @@ class LLVM_ABI TargetInstrInfo : public MCInstrInfo {
     return false;
   }
 
+  /// Returns true if this instruction can be safely rematerialized at UseIdx
+  /// even if it has implicit physical register defs that are live.
----------------
romanovvlad wrote:

Updated the comment.

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


More information about the llvm-commits mailing list