diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2022-11-10 16:15:34 -0800 |
---|---|---|
committer | Matt Arsenault <arsenm2@gmail.com> | 2023-02-05 08:36:09 -0400 |
commit | e9f3034febc62d77caaa0746358332f4f4bead49 (patch) | |
tree | 662d2ccf0f0bcbea944abb178e0ccdca20e93eca /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 893e331903ff8ab432da36a65cb8813c80d230a9 (diff) | |
download | llvm-e9f3034febc62d77caaa0746358332f4f4bead49.zip llvm-e9f3034febc62d77caaa0746358332f4f4bead49.tar.gz llvm-e9f3034febc62d77caaa0746358332f4f4bead49.tar.bz2 |
InstCombine: Perform basic isnan combines on llvm.is.fpclass
is.fpclass(x, qnan|snan) -> fcmp uno x, 0.0
is.fpclass(nnan x, qnan|snan|other) -> is.fpclass(x, other)
Start porting the existing combines from llvm.amdgcn.class to the
generic intrinsic. Start with the ones which aren't dependent on the
FP mode.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions