aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorPaul Redmond <paul.redmond@intel.com>2013-02-12 15:21:21 +0000
committerPaul Redmond <paul.redmond@intel.com>2013-02-12 15:21:21 +0000
commit288604ed0c2dd9a66093c525c7525bb2e7ed91fc (patch)
tree00a8d2f029740f3cecb7876bd11b5af5bcc52700 /llvm/lib/Object/MachOObjectFile.cpp
parent71a4ab7141d7b201f0039f6d1f1ce7b8dd3b0430 (diff)
downloadllvm-288604ed0c2dd9a66093c525c7525bb2e7ed91fc.zip
llvm-288604ed0c2dd9a66093c525c7525bb2e7ed91fc.tar.gz
llvm-288604ed0c2dd9a66093c525c7525bb2e7ed91fc.tar.bz2
PR14562 - Truncation of left shift became undef
DAGCombiner::ReduceLoadWidth was converting (trunc i32 (shl i64 v, 32)) into (shl i32 v, 32) into undef. To prevent this, check the shift count against the final result size. Patch by: Kevin Schoedel Reviewed by: Nadav Rotem llvm-svn: 174972
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions