[HLSL] `-Gis` flag doesn't work
Open
HLSL
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
https://hlsl.godbolt.org/z/16oTzKsWc
Currently enabling `-Gis` in clang doesn't produce the intended behavior. In the link above, we don't expect `reassoc nnan ninf nsz arcp afn` flags to be present. Also we are missing `contract` when fast math is enabled.
After this fix, the function `IsFast` located in `DxilOpLowering` can be removed.
Contributor guide
Assessment
This issue has not been assessed yet.