[llvm] [ShrinkWrap][NFC] Test with load from constant pool preventing shrink (PR #162476)
Sushant Gokhale via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 15 18:28:24 PDT 2025
================
@@ -24,8 +21,11 @@
br label %common.ret
}
...
-# Following code has a load from constant pool. Accessing constant pool must not
-# be considered as a stack access and hence, shrink wrapping must happen.
+# FIXME: Following code has a load from constant pool. Accessing constant pool
+# must not be considered as a stack access and hence, shrink wrapping must
+# happen.
+# CHECK-NOT: savePoint
+# CHECK-NOT: restorePoint
----------------
sushgokh wrote:
>Please add a CHECK line that match on the constant pool load.
I hope my above reasoning makes sense and thats the reason why I didnt add CHECK for this(anyway this CHECK line is not going to change even after Shrink wrapping)
https://github.com/llvm/llvm-project/pull/162476
More information about the llvm-commits
mailing list