[llvm] [SCCP] Refine trunc with nsw/nuw flags (PR #87926)

via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 11 12:03:55 PDT 2024


================
@@ -0,0 +1,179 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 4
+; RUN: opt -passes=ipsccp -S %s | FileCheck %s
----------------
XChy wrote:

Oh, sorry for merging this patch without noticing this suggestion. Changing ipsccp to sccp would cause test `range_from_sge_sle` to lose `nuw` flag. I think the test coverage of ipsccp is needed here.

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


More information about the llvm-commits mailing list