1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/lib/Transforms
John Brawn ac7908cda2 [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
2018-06-05 14:10:55 +00:00
..
AggressiveInstCombine Move Analysis/Utils/Local.h back to Transforms 2018-06-04 21:23:21 +00:00
Coroutines Move Analysis/Utils/Local.h back to Transforms 2018-06-04 21:23:21 +00:00
Hello
InstCombine [InstCombine] Correct the cmp operand type used when canonicalizing abs/nabs 2018-06-05 14:10:55 +00:00
Instrumentation Move Analysis/Utils/Local.h back to Transforms 2018-06-04 21:23:21 +00:00
IPO Move Analysis/Utils/Local.h back to Transforms 2018-06-04 21:23:21 +00:00
ObjCARC Move Analysis/Utils/Local.h back to Transforms 2018-06-04 21:23:21 +00:00
Scalar Move Analysis/Utils/Local.h back to Transforms 2018-06-04 21:23:21 +00:00
Utils Move Analysis/Utils/Local.h back to Transforms 2018-06-04 21:23:21 +00:00
Vectorize Move Analysis/Utils/Local.h back to Transforms 2018-06-04 21:23:21 +00:00
CMakeLists.txt Another try to commit 323321 (aggressive instruction combine). 2018-01-25 12:06:32 +00:00
LLVMBuild.txt Another try to commit 323321 (aggressive instruction combine). 2018-01-25 12:06:32 +00:00