diff options
| author | Jim Grosbach <grosbach@apple.com> | 2013-07-09 02:07:25 +0000 | 
|---|---|---|
| committer | Jim Grosbach <grosbach@apple.com> | 2013-07-09 02:07:25 +0000 | 
| commit | c35388f103e9d379a18a9cb071bf55c68c8ec4a9 (patch) | |
| tree | 4b23741cd449d4e5d06b33ccf4af9739ef17fec6 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
| parent | e0ad10404d246b8def67ba88b4a0246af7e2b102 (diff) | |
| download | llvm-c35388f103e9d379a18a9cb071bf55c68c8ec4a9.zip llvm-c35388f103e9d379a18a9cb071bf55c68c8ec4a9.tar.gz llvm-c35388f103e9d379a18a9cb071bf55c68c8ec4a9.tar.bz2 | |
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
llvm-svn: 185899
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions
