[clang] [CIR] Emit inbounds/inrange for vtable address points in initializers (PR #227520)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 29 17:09:42 PDT 2026
================
@@ -32,7 +32,7 @@ int *constArrAddr = &arr[2][1];
// The 'inbounds' and 'nuw' flags are inferred by LLVM's constant folder. The
// same flags show up at -O1 in OGCG.
-// LLVM: @constArrAddr = global ptr getelementptr inbounds nuw (i8, ptr @arr, i64 132), align 8
+// LLVM: @constArrAddr = global ptr getelementptr (i8, ptr @arr, i64 132), align 8
----------------
andykaylor wrote:
I think this change, and a number of the other test changes here, is probably unrelated to your PR. I just posted https://github.com/llvm/llvm-project/pull/227523 to fix these failures, which I believe were introduced by https://github.com/llvm/llvm-project/pull/226534
https://github.com/llvm/llvm-project/pull/227520
More information about the cfe-commits
mailing list