[clang] [compiler-rt] Ubsan minimum assumed alignment (PR #166755)

Matthew Nagy via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 6 06:37:08 PST 2025


================
@@ -85,7 +85,7 @@ S3 *func_08() {
   // CHECK-LABEL: define {{.*}} @_Z7func_08v
   // CHECK:       and i64 %{{.*}}, 31, !nosanitize
   // CHECK:       icmp eq i64 %{{.*}}, 0, !nosanitize
-  // CHECK:       and i64 %{{.*}}, 3, !nosanitize
+  // CHECK:       and i64 %{{.*}}, 15, !nosanitize
----------------
gbMattN wrote:

I think this test is trying something else, actually. There are other tests which test that specific misalignment check

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


More information about the cfe-commits mailing list