diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2021-08-05 20:35:40 +0300 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2021-08-05 20:37:51 +0300 |
commit | c0586ff05dd08e4cbfc6fb7881274d8d89913463 (patch) | |
tree | c4961a3875b00af9589bbc9067b82c133bdf476a /llvm/tools/llvm-diff/lib/DiffConsumer.h | |
parent | 16605aea844060c2973df079c9f91650132c099d (diff) | |
download | llvm-c0586ff05dd08e4cbfc6fb7881274d8d89913463.zip llvm-c0586ff05dd08e4cbfc6fb7881274d8d89913463.tar.gz llvm-c0586ff05dd08e4cbfc6fb7881274d8d89913463.tar.bz2 |
[NFC][X86] combineX86ShuffleChain(): hoist Mask variable higher up
Having `NewMask` outside of an if and rebinding `BaseMask` `ArrayRef`
to it is confusing. Instead, just move the `Mask` vector higher up,
and change the code that earlier had no access to it but now does
to use `Mask` instead of `BaseMask`.
This has no other intentional changes.
This is a recommit of 35c0848b570214ed2b2d96cca4dd62bb7ae725cd,
that was reverted to simplify reversion of an earlier change.
Diffstat (limited to 'llvm/tools/llvm-diff/lib/DiffConsumer.h')
0 files changed, 0 insertions, 0 deletions