[llvm] Reland "[NVPTX] Support copysign PTX instruction" (PR #108125)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 11 02:54:02 PDT 2024
================
@@ -4401,6 +4401,10 @@ class TargetLowering : public TargetLoweringBase {
/// Return true if the target supports ptrauth operand bundles.
virtual bool supportPtrAuthBundles() const { return false; }
+ /// Return true if the target supports FCOPYSIGN nodes with operands of
+ /// mismatched types.
+ virtual bool supportMismatchCopysign() const { return true; }
----------------
arsenm wrote:
-1 on adding this. It's not hard to match the mismatched cases. Also, this should be expressible in terms of the legality of the type combination
https://github.com/llvm/llvm-project/pull/108125
More information about the llvm-commits
mailing list