aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2024-03-19 14:24:51 +0530
committerMatt Arsenault <arsenm2@gmail.com>2024-03-19 14:52:45 +0530
commit1a6953a75d3120a4f9196911e6a6b79fcc315553 (patch)
treef503fc41d315b2faba59ee624c31eef816d3ea49 /flang/lib/Frontend/CompilerInvocation.cpp
parenta747e86caacf0ba3d5272474da8c10eb0b67dbc2 (diff)
downloadllvm-1a6953a75d3120a4f9196911e6a6b79fcc315553.zip
llvm-1a6953a75d3120a4f9196911e6a6b79fcc315553.tar.gz
llvm-1a6953a75d3120a4f9196911e6a6b79fcc315553.tar.bz2
ValueTracking: Fix bug with fcmp false to nan constant
If we had a comparison to a literal nan with a false predicate, we were incorrectly treating it as an unordered compare. This was correct for fcmp true, but not fcmp false. I noticed this in the review for e44d3b3e503fa12fdaead2936b28844aa36237c1 but misdiagnosed the reason. Also change the test for the fcmp true case to be more useful, but it wasn't wrong previously.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions