Skip to content
GitLab
Explore
Sign in
This is an archived project. Repository and other project resources are read-only.
llvm-epi-0.8
llvm
lib
Target
README.txt
Find file
Blame
History
Permalink
InstCombine: Reduce "X shift (A srem B)" to "X shift (A urem B)" iff B is positive.
· b5afa65b
Benjamin Kramer
authored
Nov 23, 2010
This allows to transform the rem in "1 << ((int)x % 8);" to an and. llvm-svn: 120028
b5afa65b
Loading