summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJohn Brawn <john.brawn@arm.com>2018-06-05 14:10:55 +0000
committerJohn Brawn <john.brawn@arm.com>2018-06-05 14:10:55 +0000
commite4ff0bd401ba3e7c61b5a913e9e08fa68bee69b1 (patch)
treede4a3c328b68799167ea261ab3419373d34e8e60 /clang/lib/CodeGen/CodeGenModule.cpp
parentd41bc70094c49fa58ce96141caa63fa5d8f95ef4 (diff)
downloadbcm5719-llvm-e4ff0bd401ba3e7c61b5a913e9e08fa68bee69b1.tar.gz
bcm5719-llvm-e4ff0bd401ba3e7c61b5a913e9e08fa68bee69b1.zip
[InstCombine] Correct the cmp operand type used when canonicalizing abs/nabs
When adjusting a cmp in order to canonicalize an abs/nabs select pattern we need to use the type of the existing operand when creating a new operand not the type of a select operand, as the two may be different. This fixes PR37686. llvm-svn: 334019
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud