[clang] [llvm] [Instcombine] use zext's nneg flag for icmp folding (PR #70845)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 1 02:45:35 PDT 2023


================
@@ -0,0 +1,19 @@
+// RUN: %clang_cc1 %s -O2 -triple=x86_64-apple-darwin -emit-llvm -o - | FileCheck %s
----------------
nikic wrote:

We don't test end-to-end codegen with clang. If you want to test this, you should take the unoptimized clang IR and create a test in the llvm/test/PhaseOrdering directory using it.

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


More information about the llvm-commits mailing list