For the h-register addressing-mode trick, use the correct value for
authorDan Gohman <gohman@apple.com>
Tue, 14 Apr 2009 22:45:05 +0000 (22:45 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 14 Apr 2009 22:45:05 +0000 (22:45 +0000)
commit62ad138d7033e207842337c9fb909f70e32b14ea
tree29511f1919493bb21b19cc885ae8b78054c6a104
parent00f16283cf12c53c2626d21fb534f9422500f0f1
For the h-register addressing-mode trick, use the correct value for
any non-address uses of the address value. This fixes 186.crafty.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69094 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelDAGToDAG.cpp
test/CodeGen/X86/h-registers-2.ll [new file with mode: 0644]