aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-09-30 15:51:54 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-09-30 16:01:08 +0100
commit323d08e50a7bb80786dc00a8ade6ae49e1358393 (patch)
treeebef65b6915dcf18f4feb94b59230b5a87ff6c84 /clang/lib/Frontend/CompilerInvocation.cpp
parentb85de2c69cf3d6fbc2ad3439a6224667a58f704c (diff)
downloadllvm-323d08e50a7bb80786dc00a8ade6ae49e1358393.zip
llvm-323d08e50a7bb80786dc00a8ade6ae49e1358393.tar.gz
llvm-323d08e50a7bb80786dc00a8ade6ae49e1358393.tar.bz2
[InstCombine] Fix bswap(trunc(bswap(x))) -> trunc(lshr(x, c)) vector support
Use getScalarSizeInBits not getPrimitiveSizeInBits to determine the shift value at the element level.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions