diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-03-23 07:19:58 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-03-23 07:19:58 +0000 |
commit | 7d6d4b360fb8c1895b57eeb1284e792f953ea7ee (patch) | |
tree | 418af119ada84a281c17a9346f9183361e6fdec1 /lib/Support/PrettyStackTrace.cpp | |
parent | a8bd27ff666a0c5f7248f01670f0f53887359086 (diff) |
Do not fold away subreg_to_reg if the source register has a sub-register index. That means the source register is taking a sub-register of a larger register. e.g. On x86
%RAX<def> = ...
%RAX<def> = SUBREG_TO_REG 0, %EAX:3<kill>, 3
The first def is defining RAX, not EAX so the top bits were not zero-extended.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67511 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/PrettyStackTrace.cpp')
0 files changed, 0 insertions, 0 deletions