[llvm] [loop-idiom] Forget outer loop scev when loop-idiom introduces memset… (PR #150916)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 28 12:58:26 PDT 2025


================
@@ -0,0 +1,48 @@
+; REQUIRES: asserts
+; RUN: opt <%s -p "loop(loop-idiom)" -verify-scev -o /dev/null
----------------
fhahn wrote:

`REQUIRES: asserts` only means that the test will only be run with builds with asserts enabled. There is no reason to not run it unconditionally and check the output. 

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


More information about the llvm-commits mailing list