diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-05-05 05:40:20 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-05-05 05:40:20 +0000 |
commit | 8f7f7125e95e4fce29a4b8acbc88f708e7fae42f (patch) | |
tree | 58b00b6d6d5312528fe864094a62dec26efad595 /lib/CodeGen/MachineDebugInfo.cpp | |
parent | 55c63257f31e2fa0b4a606f15d809cf615bc960c (diff) |
Better implementation of truncate. ISel matches it to a pseudo instruction
that gets emitted as movl (for r32 to i16, i8) or a movw (for r16 to i8). And
if the destination gets allocated a subregister of the source operand, then
the instruction will not be emitted at all.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28119 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions