[clang] [CIR] Omit nsw/nuw on integer vector binops (PR #199123)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Fri May 22 09:35:15 PDT 2026


================
@@ -0,0 +1,49 @@
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -Wno-unused-value -fclangir -emit-cir %s -o %t.cir
+// RUN: FileCheck --check-prefix=CIR --input-file=%t.cir %s
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -Wno-unused-value -fclangir -emit-llvm %s -o %t-cir.ll
+// RUN: FileCheck --check-prefix=LLVM --input-file=%t-cir.ll %s
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -Wno-unused-value -emit-llvm %s -o %t.ll
+// RUN: FileCheck --check-prefix=OGCG --input-file=%t.ll %s
----------------
erichkeane wrote:

No we don't?

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


More information about the cfe-commits mailing list