[llvm] [AMDGPU] Fold multiple aligned v_mov_b32 to v_mov_b64 on gfx942 (PR #138843)

Chris Jackson via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 4 09:04:53 PDT 2025


================
@@ -2760,9 +2868,11 @@ bool SIFoldOperandsImpl::run(MachineFunction &MF) {
         continue;
       }
 
-      if (MI.isRegSequence() && tryFoldRegSequence(MI)) {
-        Changed = true;
-        continue;
+      if (MI.isRegSequence()) {
----------------
chrisjbris wrote:

```suggestion
      if (MI.isRegSequence())
```
nit: can we save a couple of braces?

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


More information about the llvm-commits mailing list