The change implements lowering of get_fpenv, set_fpenv and
reset_fpenv.
Details
Details
Diff Detail
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. |
Comment Actions
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 | ||
---|---|---|
30120 | Maybe check for hasX87 too? | |
30124 | hasSSE1? | |
30156 | Maybe pass Subtarget from caller instead? | |
llvm/lib/Target/X86/X86ISelLowering.h | ||
837 | Add a suffix m | |
840 | ditto. | |
llvm/lib/Target/X86/X86InstrFPStack.td | ||
427–428 | Need to add Predicates = [HasX87] if change to I. | |
434–435 | ditto. |
Comment Actions
LGTM.
llvm/lib/Target/X86/X86ISelLowering.cpp | ||
---|---|---|
34442–34444 | Maybe use upper L to match with other functions here. |
Add a suffix m