aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/integer-overflow.c
diff options
context:
space:
mode:
authorJuergen Ributzka <juergen@apple.com>2015-07-25 02:16:53 +0000
committerJuergen Ributzka <juergen@apple.com>2015-07-25 02:16:53 +0000
commit6364985b582275a1d20b9d91ef0d0c3c1797325d (patch)
tree27b74ee46b4846d4f00d3dfbd2426bdec66620a6 /clang/test/CodeGen/integer-overflow.c
parent3afd5bfd7bb2a7741da9c61860eb80d103be3b04 (diff)
downloadllvm-6364985b582275a1d20b9d91ef0d0c3c1797325d.zip
llvm-6364985b582275a1d20b9d91ef0d0c3c1797325d.tar.gz
llvm-6364985b582275a1d20b9d91ef0d0c3c1797325d.tar.bz2
[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 'clang/test/CodeGen/integer-overflow.c')
0 files changed, 0 insertions, 0 deletions