[PATCH] D45572: [X86] Replace action Promote with Custom for operation ISD::SINT_TO_FP
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 16 12:45:45 PDT 2018
efriedma added inline comments.
================
Comment at: lib/Target/X86/X86ISelLowering.cpp:238
setOperationAction(ISD::SINT_TO_FP , MVT::i16 , Promote);
- setOperationAction(ISD::SINT_TO_FP , MVT::i32 , Promote);
+ setOperationAction(ISD::SINT_TO_FP , MVT::i32 , Custom);
}
----------------
Normally, you'd use "Expand" to indicate this is always a libcall.
Repository:
rL LLVM
https://reviews.llvm.org/D45572
More information about the llvm-commits
mailing list