aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorMichael Kitzan <mkitzan@apple.com>2022-05-16 17:22:50 -0700
committerMichael Kitzan <mkitzan@apple.com>2022-05-18 12:08:53 -0700
commit29bebb0237965618b6c91fe32f63d13cf9ecabc5 (patch)
tree61f92259bc7e7edd13c62933849221ec429776d8 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parentebbc37391f9d1de5e8c4bee14493fce20f9c6906 (diff)
downloadllvm-29bebb0237965618b6c91fe32f63d13cf9ecabc5.zip
llvm-29bebb0237965618b6c91fe32f63d13cf9ecabc5.tar.gz
llvm-29bebb0237965618b6c91fe32f63d13cf9ecabc5.tar.bz2
[GISel] Add new combines for G_FMINNUM/MAXNUM and G_FMINIMUM/MAXIMUM
I noticed https://reviews.llvm.org/D87415 added SDAG combines to fold FMIN/MAX instrs with NaNs. The patch implements the same NaN combines for GISel GMIR FMIN/MAX opcodes: G_FMINNUM(X, NaN) -> X G_FMAXNUM(X, NaN) -> X G_FMINIMUM(X, NaN) -> NaN G_FMAXIMUM(X, NaN) -> NaN The patch adds AArch64 tests for these combines as well. Reviewed by: arsenm Differential revision: https://reviews.llvm.org/D125819
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions