aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineCSE.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-05-22 06:47:06 +0000
committerNikita Popov <nikita.ppv@gmail.com>2019-05-22 06:47:06 +0000
commit15df05152d3d6dcaf92b3456a079357e2d876e79 (patch)
tree23b015afa090d82179b3781570f05e985221c928 /llvm/lib/CodeGen/MachineCSE.cpp
parent94c36fa15ba32836fda6b7075a4625defba2d327 (diff)
downloadllvm-15df05152d3d6dcaf92b3456a079357e2d876e79.zip
llvm-15df05152d3d6dcaf92b3456a079357e2d876e79.tar.gz
llvm-15df05152d3d6dcaf92b3456a079357e2d876e79.tar.bz2
[X86] Don't compare i128 through vector if construction not cheap (PR41971)
Fix for https://bugs.llvm.org/show_bug.cgi?id=41971. Make the combineVectorSizedSetCCEquality() transform more conservative by checking that the bitcast to the vector type will be cheap/free for both operands. I'm considering it cheap if it's a constant, a load or already a vector. I've dropped the explicit check for f128 because it should fall out naturally (in the cases where it'd be detrimental). Differential Revision: https://reviews.llvm.org/D62220 llvm-svn: 361352
Diffstat (limited to 'llvm/lib/CodeGen/MachineCSE.cpp')
0 files changed, 0 insertions, 0 deletions