[llvm] [ConstantFolding] Constant fold nextafter and nexttoward (PR #168794)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 30 08:40:56 PST 2026


================
@@ -0,0 +1,256 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 6
+; RUN: cat %S/floating-point-constants.ll %s | opt -passes=instcombine -S | FileCheck %s
----------------
arsenm wrote:

I think every other testcase in InstCombine/InstSimplify just hardcodes all the same values. If they didn't, there would be an Inputs subdirectory here 

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


More information about the llvm-commits mailing list