diff options
| author | Roman Lebedev <lebedev.ri@gmail.com> | 2019-08-10 19:28:54 +0000 |
|---|---|---|
| committer | Roman Lebedev <lebedev.ri@gmail.com> | 2019-08-10 19:28:54 +0000 |
| commit | a8d20b446766d8dd1cdbd0332daf646294f6ea77 (patch) | |
| tree | 3d5386a12942c90b526ba14cd5c93a176f51ddea /llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp | |
| parent | 64fe806c4e11d90d8abaed65b659673be677b856 (diff) | |
| download | bcm5719-llvm-a8d20b446766d8dd1cdbd0332daf646294f6ea77.tar.gz bcm5719-llvm-a8d20b446766d8dd1cdbd0332daf646294f6ea77.zip | |
[InstCombine] Shift amount reassociation in bittest: relax one-use check when shifting constant
If one of the values being shifted is a constant, since the new shift
amount is known-constant, the new shift will end up being constant-folded
so, we don't need that one-use restriction then.
llvm-svn: 368519
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp')
0 files changed, 0 insertions, 0 deletions

