aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/RegAllocBasic.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-09-30 16:08:52 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-09-30 16:09:09 +0100
commitf425418fc4ebd989c6c3d59d20e7fe37cb29259c (patch)
tree25cf455ec75e95242141a6989e46691c32d65ba7 /llvm/lib/CodeGen/RegAllocBasic.cpp
parent052c5bf40a9fc9ffe1bb2669763d8a0d2dea2b2e (diff)
downloadllvm-f425418fc4ebd989c6c3d59d20e7fe37cb29259c.zip
llvm-f425418fc4ebd989c6c3d59d20e7fe37cb29259c.tar.gz
llvm-f425418fc4ebd989c6c3d59d20e7fe37cb29259c.tar.bz2
[InstCombine] Add tests for 'partial' bswap patterns
As mentioned on PR47191, if we're bswap'ing some bytes and the zero'ing the remainder we can perform this as a bswap+mask which helps us match 'partial' bswaps as a first step towards folding into a more complex bswap pattern.
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocBasic.cpp')
0 files changed, 0 insertions, 0 deletions