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 ↗ | (On Diff #270701) | Windows defaults to 53 bit precision. |
llvm/lib/Target/X86/X86SelectionDAGInfo.cpp | ||
---|---|---|
390 ↗ | (On Diff #270701) | 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 | ||
---|---|---|
26532 | Maybe check for hasX87 too? | |
26536 | hasSSE1? | |
26568 | Maybe pass Subtarget from caller instead? | |
llvm/lib/Target/X86/X86ISelLowering.h | ||
783 | Add a suffix m | |
786 | ditto. | |
llvm/lib/Target/X86/X86InstrFPStack.td | ||
401–402 | Need to add Predicates = [HasX87] if change to I. | |
407–408 | ditto. |
LGTM.
llvm/lib/Target/X86/X86ISelLowering.cpp | ||
---|---|---|
29846–29848 | Maybe use upper L to match with other functions here. |
Add a suffix m