[llvm] [DAG] canCreateUndefOrPoison – mark fneg/fadd/fsub/fmul/fdiv/frem as not poison generating (PR #142345)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 2 02:05:34 PDT 2025


================
@@ -0,0 +1,282 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1100 -verify-machineinstrs < %s | FileCheck %s -check-prefix GFX11
----------------
RKSimon wrote:

Do you need `-verify-machineinstrs` for these generic folds? Might be easier to drop `check-prefix GFX11` and use the default CHECK

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


More information about the llvm-commits mailing list