The change implements lowering of get_fpenv, set_fpenv and
reset_fpenv.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
| llvm/lib/Target/X86/X86SelectionDAGInfo.cpp | ||
|---|---|---|
| 390 | Windows defaults to 53 bit precision. | |
| llvm/lib/Target/X86/X86SelectionDAGInfo.cpp | ||
|---|---|---|
| 390 | 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 | ||
|---|---|---|
| 26122 | Maybe check for hasX87 too? | |
| 26126 | hasSSE1? | |
| 26158 | 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 | ||
| 400–401 | Need to add Predicates = [HasX87] if change to I. | |
| 406–407 | ditto. | |
Comment Actions
LGTM.
| llvm/lib/Target/X86/X86ISelLowering.cpp | ||
|---|---|---|
| 29165–29167 | Maybe use upper L to match with other functions here. | |
Add a suffix m