diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-05-10 16:00:13 +0100 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-05-10 16:00:29 +0100 |
commit | bab44a698e821292ecce4ee01a61964a0a40c33e (patch) | |
tree | ee1755a591044770502906b7ae0aa553f595e28e /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 96c63f544f6825d4fa378c374139b09455c15d0c (diff) | |
download | llvm-bab44a698e821292ecce4ee01a61964a0a40c33e.zip llvm-bab44a698e821292ecce4ee01a61964a0a40c33e.tar.gz llvm-bab44a698e821292ecce4ee01a61964a0a40c33e.tar.bz2 |
[InstCombine] matchOrConcat - match BITREVERSE
Fold or(zext(bitreverse(x)),shl(zext(bitreverse(y)),bw/2) -> bitreverse(or(zext(x),shl(zext(y),bw/2))
Practically this is the same as the BSWAP pattern so we might as well handle it.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions