diff options
author | Sanjay Patel <spatel@rotateright.com> | 2021-09-12 09:18:14 -0400 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2021-09-12 09:18:14 -0400 |
commit | 3a126134d38144928de802bf96d45e72dd1b26d2 (patch) | |
tree | 775a7893934ec96267471cb3ee8719268ef921bd /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | b78c85a44af300f8e3da582411814385cf70239d (diff) | |
download | llvm-3a126134d38144928de802bf96d45e72dd1b26d2.zip llvm-3a126134d38144928de802bf96d45e72dd1b26d2.tar.gz llvm-3a126134d38144928de802bf96d45e72dd1b26d2.tar.bz2 |
[InstCombine] remove casts from splat-a-bit pattern
https://alive2.llvm.org/ce/z/_AivbM
This case seems clear since we can reduce instruction count
and avoid an intermediate type change, but we might want to
use mask-and-compare for other sequences.
Currently, we can generate more instructions on some related
patterns by trying to use bit-hacks instead of mask+cmp, so
something is not behaving as expected.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions