[llvm] [clang] [Instcombine] use zext's nneg flag for icmp folding (PR #70845)
LĂ©onard Oest O'Leary via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 10 11:51:33 PST 2023
================
@@ -0,0 +1,175 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 3
+; See PR-70845 for more details
+; RUN: opt < %s -S -passes=instcombine | FileCheck %s
+
+
+define signext i32 @sext_sext(i16 %x, i16 %y) {
----------------
leo-ard wrote:
The technique of commenting and seeing which tests crashed worked really well. Thanks for the trick
https://github.com/llvm/llvm-project/pull/70845
More information about the cfe-commits
mailing list