[PATCH] D122475: [X86] Refactor X86ScalarSSEf16/32/64 with hasFP16/SSE1/SSE2. NFCI
LuoYuanke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 26 00:52:49 PDT 2022
LuoYuanke added inline comments.
================
Comment at: llvm/lib/Target/X86/X86FastISel.cpp:521
case MVT::f64:
- if (X86ScalarSSEf32) {
+ if (HasSSE2) {
if (IsNonTemporal && HasSSE4A)
----------------
This fix a bug? Should previous code be X86ScalarSSEf64?
================
Comment at: llvm/lib/Target/X86/X86ISelLowering.cpp:5669
+bool X86TargetLowering::hasBitPreservingFPLogic(EVT VT) const {
+ return VT == MVT::f32 || VT == MVT::f64 || VT.isVector() ||
----------------
Just be curious. Why move those implementation from .h file?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122475/new/
https://reviews.llvm.org/D122475
More information about the llvm-commits
mailing list