[llvm-branch-commits] [llvm] CodeGen: Drop the LiveVariables parameter from convertToThreeAddress (PR #225182)

Christudasan Devadasan via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Sep 28 05:41:27 PDT 2026


================
@@ -2366,7 +2366,7 @@ bool SIFoldOperandsImpl::tryFoldClamp(MachineInstr &MI) {
   // Use of output modifiers forces VOP3 encoding for a VOP2 mac/fmac
   // instruction, so we might as well convert it to the more flexible VOP3-only
   // mad/fma form.
-  if (TII->convertToThreeAddress(*Def, nullptr, nullptr))
+  if (TII->convertToThreeAddress(*Def, nullptr))
----------------
cdevadas wrote:

```suggestion
  if (TII->convertToThreeAddress(*Def, nullptr /*=LIS*/))
```

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


More information about the llvm-branch-commits mailing list