================
@@ -70,6 +77,7 @@ void test1(void) {
   // WRAPV: add i8 {{.*}}, 1
----------------
MaskRay wrote:

L72 needs a `// CATCH_WRAP: getelementptr i32, ptr`

Actually, since -fsanitize=signed-integer-overflow and -fwrapv 
-fsanitize=signed-integer-overflow share so many checks. Perhaps share the 
check prefixes?

```
--check-prefixes=CATCH_UB,CATCH_UB_POINTER
--check-prefixes=CATCH_UB,NOCATCH_UB_POINTER
```

https://github.com/llvm/llvm-project/pull/82432
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to