diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-03-15 12:16:11 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-03-15 12:16:11 +0000 |
commit | f591231cadb8c539cc24afa522160b704b6dfe1d (patch) | |
tree | 4ce4d91e000236578c39607910cbc81dd5854d6c /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | e60defb931cfc333d143f6000a6a65ae4dc106a2 (diff) | |
download | llvm-f591231cadb8c539cc24afa522160b704b6dfe1d.zip llvm-f591231cadb8c539cc24afa522160b704b6dfe1d.tar.gz llvm-f591231cadb8c539cc24afa522160b704b6dfe1d.tar.bz2 |
[X86] combineSelect - canonicalize (vXi1 bitcast(iX Cond)) with combineToExtendBoolVectorInReg before legalization
This replaces the attempt in 20af71f8ec47319d375a871db6fd3889c2487cbd to use combineToExtendBoolVectorInReg to create X86ISD::BLENDV masks directly, instead we use it to canonicalize the iX bitcast to a sign-extended mask and then truncate it back to vXi1 prior to legalization breaking it apart.
Fixes #53760
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions