summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2013-07-09 02:07:25 +0000
committerJim Grosbach <grosbach@apple.com>2013-07-09 02:07:25 +0000
commitcc64dc66e740c0d78ecaca39c33c81b4062edd2e (patch)
treec965868d58e1dd764d7d9a77ee29ea43b0064dd2 /lib/Bitcode/Reader
parent845e196a52d52abcd789612750f6f34af3a2cc79 (diff)
downloadllvm-cc64dc66e740c0d78ecaca39c33c81b4062edd2e.tar.gz
llvm-cc64dc66e740c0d78ecaca39c33c81b4062edd2e.tar.bz2
llvm-cc64dc66e740c0d78ecaca39c33c81b4062edd2e.tar.xz
X86 fast-isel: Avoid explicit AH subreg reference for [SU]Rem.
Explicit references to %AH for an i8 remainder instruction can lead to references to %AH in a REX prefixed instruction, which causes things to blow up. Do the same thing in FastISel as we do for DAG isel and instead shift %AX right by 8 bits and then extract the 8-bit subreg from that result. rdar://14203849 http://llvm.org/bugs/show_bug.cgi?id=16105 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185899 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader')
0 files changed, 0 insertions, 0 deletions