diff options
author | Juergen Ributzka <juergen@apple.com> | 2015-07-25 02:16:53 +0000 |
---|---|---|
committer | Juergen Ributzka <juergen@apple.com> | 2015-07-25 02:16:53 +0000 |
commit | 6364985b582275a1d20b9d91ef0d0c3c1797325d (patch) | |
tree | 27b74ee46b4846d4f00d3dfbd2426bdec66620a6 /lldb/source/Target/Process.cpp | |
parent | 3afd5bfd7bb2a7741da9c61860eb80d103be3b04 (diff) | |
download | bcm5719-llvm-6364985b582275a1d20b9d91ef0d0c3c1797325d.tar.gz bcm5719-llvm-6364985b582275a1d20b9d91ef0d0c3c1797325d.zip |
[AArch64][FastISel] Always use an AND instruction when truncating to non-legal types.
When truncating to non-legal types (such as i16, i8 and i1) always use an AND
instruction to mask out the upper bits. This was only done when the source type
was an i64, but not when the source type was an i32.
This commit fixes this and adds the missing i32 truncate tests.
This fixes rdar://problem/21990703.
llvm-svn: 243198
Diffstat (limited to 'lldb/source/Target/Process.cpp')
0 files changed, 0 insertions, 0 deletions