Add a function to enable and disable IEEEBit for SC and shader respectively.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp | ||
---|---|---|
551–552 | Can we change this to ProgInfo.IEEEMode = STM.enableIEEEBit(MF)? |
lib/Target/AMDGPU/AMDGPUSubtarget.h | ||
---|---|---|
252 | I think this is a property of a function, and moving this function to SIMachineFunctionInfo would be better |
lib/Target/AMDGPU/AMDGPUSubtarget.h | ||
---|---|---|
252 | My original thought was that it would be useful to have this function here in case we added a subtarget feature for setting/unsetting the ieee bit. |
lib/Target/AMDGPU/AMDGPUSubtarget.h | ||
---|---|---|
252 | Ah, ok. That makes sense then. |
Can we change this to ProgInfo.IEEEMode = STM.enableIEEEBit(MF)?