aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/PassManager.cpp
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-11-26 10:53:16 +0000
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-11-26 10:53:16 +0000
commitdd7dd930d18acc95b344d768d632c5f9173c7077 (patch)
tree71b9c7601a1fbaff81cd185f94141fb535528816 /llvm/lib/IR/PassManager.cpp
parent71d95d6e51641e8475cf4d1664582c1ca5537924 (diff)
downloadllvm-dd7dd930d18acc95b344d768d632c5f9173c7077.zip
llvm-dd7dd930d18acc95b344d768d632c5f9173c7077.tar.gz
llvm-dd7dd930d18acc95b344d768d632c5f9173c7077.tar.bz2
[SystemZ] Fix incorrect use of RISBG for a zero-extended right shift
We would wrongly transform the testcase into the equivalent of an AND with 1. The problem was that, when testing whether the shifted-in bits of the right shift were significant, we used the width of the final zero-extended result rather than the width of the shifted value. llvm-svn: 195731
Diffstat (limited to 'llvm/lib/IR/PassManager.cpp')
0 files changed, 0 insertions, 0 deletions