[llvm] [AMDGPU] Filter candidates of LiveRegOptimizer for profitable cases (PR #124624)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 29 13:55:39 PST 2025


================
@@ -259,6 +297,9 @@ bool LiveRegOptimizer::optimizeLiveType(
     if (!shouldReplace(II->getType()))
       continue;
 
+    if (!shouldReplaceBasedOnOp(II))
----------------
choikwa wrote:

Noted

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


More information about the llvm-commits mailing list