The change implements lowering of get_fpenv, set_fpenv and
reset_fpenv.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/X86/X86SelectionDAGInfo.cpp | ||
---|---|---|
390 | Windows defaults to 53 bit precision. |
llvm/lib/Target/X86/X86SelectionDAGInfo.cpp | ||
---|---|---|
390 | Fixed. |
Updated patch
- Remove changes related to fix for mayLoad/mayStore properties, the relevant changes are already in master,
- Removed lowering of ISD::GET_FPENV and friends. This operation is useless as lowering of FPEnv intrinsics is made when constructing DAG.
llvm/lib/Target/X86/X86ISelLowering.cpp | ||
---|---|---|
26124 | Maybe check for hasX87 too? | |
26128 | hasSSE1? | |
26160 | Maybe pass Subtarget from caller instead? | |
llvm/lib/Target/X86/X86ISelLowering.h | ||
778 | Add a suffix m | |
781 | ditto. | |
llvm/lib/Target/X86/X86InstrFPStack.td | ||
398–399 | Need to add Predicates = [HasX87] if change to I. | |
404–405 | ditto. |
LGTM.
llvm/lib/Target/X86/X86ISelLowering.cpp | ||
---|---|---|
29191–29193 | Maybe use upper L to match with other functions here. |
Add a suffix m