[llvm] [VPlan] Strip bad FIXME in expand-scev (NFC) (PR #218213)

via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 23 00:33:45 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-llvm-transforms

Author: Ramkumar Ramachandra (artagnon)

<details>
<summary>Changes</summary>

7be188763a ([VPlan] Don't preserve NSW in mul -> shl conversion for bw-1 op) missed stripping it.

---
Full diff: https://github.com/llvm/llvm-project/pull/218213.diff


1 Files Affected:

- (modified) llvm/test/Transforms/LoopVectorize/VPlan/expand-scev.ll (-1) 


``````````diff
diff --git a/llvm/test/Transforms/LoopVectorize/VPlan/expand-scev.ll b/llvm/test/Transforms/LoopVectorize/VPlan/expand-scev.ll
index e6cc0cbfc5c95..79c3f709f0342 100644
--- a/llvm/test/Transforms/LoopVectorize/VPlan/expand-scev.ll
+++ b/llvm/test/Transforms/LoopVectorize/VPlan/expand-scev.ll
@@ -283,7 +283,6 @@ exit:
   ret void
 }
 
-; FIXME: shl incorrectly carries nsw.
 ; Test for https://github.com/llvm/llvm-project/issues/205252.
 define i32 @mul_by_signed_min_expanded_to_shl(i1 %a) {
 ; CHECK-LABEL: VPlan for loop in 'mul_by_signed_min_expanded_to_shl'

``````````

</details>


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


More information about the llvm-commits mailing list