[PATCH] D153415: [NFC SVE ACLE] Remove IR combines that no longer apply.
Jolanta Jensen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 22 03:26:54 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG5cd16e2cb720: [NFC SVE ACLE] Remove IR combines that no longer apply. (authored by jolanta.jensen).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153415/new/
https://reviews.llvm.org/D153415
Files:
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
Index: llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
===================================================================
--- llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
+++ llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
@@ -1247,13 +1247,10 @@
static Instruction::BinaryOps intrinsicIDToBinOpCode(unsigned Intrinsic) {
switch (Intrinsic) {
- case Intrinsic::aarch64_sve_fmul:
case Intrinsic::aarch64_sve_fmul_u:
return Instruction::BinaryOps::FMul;
- case Intrinsic::aarch64_sve_fadd:
case Intrinsic::aarch64_sve_fadd_u:
return Instruction::BinaryOps::FAdd;
- case Intrinsic::aarch64_sve_fsub:
case Intrinsic::aarch64_sve_fsub_u:
return Instruction::BinaryOps::FSub;
default:
@@ -1330,7 +1327,7 @@
Intrinsic::aarch64_sve_fmla>(IC, II,
true))
return FMLA;
- return instCombineSVEVectorBinOp(IC, II);
+ return std::nullopt;
}
static std::optional<Instruction *>
@@ -1372,7 +1369,7 @@
Intrinsic::aarch64_sve_fmls>(IC, II,
true))
return FMLS;
- return instCombineSVEVectorBinOp(IC, II);
+ return std::nullopt;
}
static std::optional<Instruction *>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153415.533528.patch
Type: text/x-patch
Size: 1368 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230622/a78cc5b8/attachment.bin>
More information about the llvm-commits
mailing list