diff options
author | Sanjay Patel <spatel@rotateright.com> | 2022-03-08 10:17:50 -0500 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2022-03-08 12:41:12 -0500 |
commit | 9397bdc67eb2b9eedc247a89bef01c2484b48b89 (patch) | |
tree | 791e6030a7e979ff76a6d59564fc9a00c02c3de6 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | f345f7e30bd3a8e15052f5669c1977aa088e468f (diff) | |
download | llvm-9397bdc67eb2b9eedc247a89bef01c2484b48b89.zip llvm-9397bdc67eb2b9eedc247a89bef01c2484b48b89.tar.gz llvm-9397bdc67eb2b9eedc247a89bef01c2484b48b89.tar.bz2 |
[InstCombine] fold fcmp with lossy casted constant
This is noted as a missing clang warning in #54222
(and we should still make that enhancement).
Alive2 proofs:
https://alive2.llvm.org/ce/z/Q8drDq
https://alive2.llvm.org/ce/z/pE6LRt
I don't see a single conversion for all predicates
using "getFCmpCode" logic, so other predicates are
left as a TODO item.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions