aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorMichael Kuperstein <michael.m.kuperstein@intel.com>2015-02-18 09:43:40 +0000
committerMichael Kuperstein <michael.m.kuperstein@intel.com>2015-02-18 09:43:40 +0000
commitaf9befa6b7720294111137816c2ee4c420bf229c (patch)
treec4546bda8470b899bf623b1f6e566f4a03a080e4 /clang/lib/CodeGen/CodeGenModule.cpp
parentb7e5909a42cb7405c1ec2cc2728bf199497d849b (diff)
downloadllvm-af9befa6b7720294111137816c2ee4c420bf229c.zip
llvm-af9befa6b7720294111137816c2ee4c420bf229c.tar.gz
llvm-af9befa6b7720294111137816c2ee4c420bf229c.tar.bz2
Fixes two issue in SimplifyDemandedBits of sext_in_reg:
1) We should not try to simplify if the sext has multiple uses 2) There is no need to simplify is the source value is already sign-extended. Patch by Gil Rapaport <gil.rapaport@intel.com> Differential Revision: http://reviews.llvm.org/D6949 llvm-svn: 229659
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions