summaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/GlobalOpt.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-12-14 08:01:30 +0000
committerBill Wendling <isanbard@gmail.com>2013-12-14 08:01:30 +0000
commite09cd8d42b7621050d2dcdccc37ee341a1b553d5 (patch)
tree91ff1a2b9ae8c7cfeca98d07ec25f6795e40a840 /lib/Transforms/IPO/GlobalOpt.cpp
parentda6317f81fea568240bd1d2760ee1cf02d341be8 (diff)
downloadllvm-e09cd8d42b7621050d2dcdccc37ee341a1b553d5.tar.gz
llvm-e09cd8d42b7621050d2dcdccc37ee341a1b553d5.tar.bz2
llvm-e09cd8d42b7621050d2dcdccc37ee341a1b553d5.tar.xz
Merging r197228:
------------------------------------------------------------------------ r197228 | d0k | 2013-12-13 05:40:24 -0800 (Fri, 13 Dec 2013) | 8 lines X86: When lowering shl_parts, don't emit shift amounts larger than the bit width. While it's safe for the X86-specific shift nodes, dag combining will kill generic nodes. Insert an AND to make it safe, isel will nuke it as x86's shift instructions have an implicit AND. Fixes PR16108, which contains a contraption to hit this case in between constant folders. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197321 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/GlobalOpt.cpp')
0 files changed, 0 insertions, 0 deletions