aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorTim Keith <tkeith@nvidia.com>2020-09-14 09:10:45 -0700
committerTim Keith <tkeith@nvidia.com>2020-09-14 09:10:49 -0700
commited0abc8ad3f3be99f40c25238ec42065a8ba077f (patch)
treed95eefe8024a16cd66cf45df36184eb281f2f7ac /llvm/lib/CodeGen/MachineFunction.cpp
parent55d371abd7f470496f45d960c29bb66da0e81aee (diff)
downloadllvm-ed0abc8ad3f3be99f40c25238ec42065a8ba077f.zip
llvm-ed0abc8ad3f3be99f40c25238ec42065a8ba077f.tar.gz
llvm-ed0abc8ad3f3be99f40c25238ec42065a8ba077f.tar.bz2
[flang] Correctly detect overlapping integer cases
Integer case values were being compared as unsigned by operator< on evaluate::value::Integer. Change that to signed so that overlap can be detected correctly. Explicit CompareUnsigned and BLT are still available if unsigned comparison is needed. Fixes https://bugs.llvm.org/show_bug.cgi?id=47309 Differential Revision: https://reviews.llvm.org/D87595
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions