mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-01 17:32:36 +00:00
another case Nate came up with
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25943 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f92bafa2ca
commit
e7b06c65ba
@ -68,4 +68,7 @@ For dag combiner and instcombine:
|
||||
Fold: "A / (B << N)" where B is a power of 2, to "A >> (N + log2(B))".
|
||||
Fold: "A % (B << N)" where B is a power of 2, to "A & ((B << N) - 1)".
|
||||
|
||||
int t(int X, int Y) { return 1 << (X+4); } --> 16 << X
|
||||
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
Loading…
x
Reference in New Issue
Block a user