summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2018-01-08 21:12:04 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2018-01-08 21:12:04 +0000
commita12bf9106a70841f96c7105ef663a1af5f45989a (patch)
treee4e47a31165b07b5d3d400eb9307d557102eb6d2 /llvm/lib/Transforms
parent215284d089dd0956f684daf10f245b1a31c14aed (diff)
downloadbcm5719-llvm-a12bf9106a70841f96c7105ef663a1af5f45989a.tar.gz
bcm5719-llvm-a12bf9106a70841f96c7105ef663a1af5f45989a.zip
Factor out comparison handling for arithmetic types.
This is not quite NFC: we don't perform the usual arithmetic conversions unless we have an operand of arithmetic or enumeration type any more. This matches the standard rule, but actually has no effect other than to marginally improve our diagnostics for the non-arithmetic, non-enumeration cases (by not performing integral promotions on one operand if the other is a pointer). llvm-svn: 322024
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud