[llvm] [LowerConstantIntrinsics] Improve tests related to llvm.objectsize. NFC (PR #132364)

Björn Pettersson via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 26 06:07:42 PDT 2025


================
@@ -0,0 +1,256 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt -passes='sroa,instcombine,lower-constant-intrinsics,dce' -S < %s | FileCheck --check-prefixes CHECK,CHECK-REF %s
----------------
bjope wrote:

Yes. Using a different pipleine as a REF was useful when trying to find situations when the behavior diverged when running lower-constant-intrinsics standalone. But that should not be needed for the final regression test. I agree that it is better to just use a single pass test.

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


More information about the llvm-commits mailing list