[all-commits] [llvm/llvm-project] e9f303: InstCombine: Perform basic isnan combines on llvm....
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Sun Feb 5 04:36:23 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e9f3034febc62d77caaa0746358332f4f4bead49
https://github.com/llvm/llvm-project/commit/e9f3034febc62d77caaa0746358332f4f4bead49
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2023-02-05 (Sun, 05 Feb 2023)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
M llvm/test/Transforms/InstCombine/combine-is.fpclass-and-fcmp.ll
M llvm/test/Transforms/InstCombine/is_fpclass.ll
Log Message:
-----------
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.
More information about the All-commits
mailing list