Skip to content

Commit d2856ff

Browse files
committed
[X86] Enable v32f16 FNEG custom lowering on AVX512 targets
1 parent 8851e41 commit d2856ff

File tree

2 files changed

+13
-1218
lines changed

2 files changed

+13
-1218
lines changed

llvm/lib/Target/X86/X86ISelLowering.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2054,6 +2054,7 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
20542054
for (auto VT : { MVT::v4i32, MVT::v8i32, MVT::v2i64, MVT::v4i64 })
20552055
setOperationAction(ISD::CTPOP, VT, Legal);
20562056
}
2057+
setOperationAction(ISD::FNEG, MVT::v32f16, Custom);
20572058
setOperationAction(ISD::FABS, MVT::v32f16, Custom);
20582059
}
20592060

0 commit comments

Comments
 (0)