aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2015-02-18 09:19:58 +0000
committerChandler Carruth <chandlerc@gmail.com>2015-02-18 09:19:58 +0000
commit48cc6c623a14871908f976770940d3b49e624258 (patch)
treefdbf789fe31332bc3adaf0ba922cace6b64d704b /clang/lib/CodeGen/CodeGenModule.cpp
parent7db6918e2b2f33efb1f8546672a7f731b00b479d (diff)
downloadllvm-48cc6c623a14871908f976770940d3b49e624258.zip
llvm-48cc6c623a14871908f976770940d3b49e624258.tar.gz
llvm-48cc6c623a14871908f976770940d3b49e624258.tar.bz2
[x86] Refactor the bit shift code the same as I just did the byte shift
code. While this didn't have the miscompile (it used MatchLeft consistently) it missed some cases where it could use right shifts. I've added a test case Craig Topper came up with to exercise the right shift matching. This code is really identical between the two. I'm going to merge them next so that we don't keep two copies of all of this logic. llvm-svn: 229655
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions