1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 13:02:52 +02:00
llvm-mirror/test/CodeGen
Matt Arsenault c2c2a10170 AMDGPU: Fix handling of 16-bit immediates
Since 32-bit instructions with 32-bit input immediate behavior
are used to materialize 16-bit constants in 32-bit registers
for 16-bit instructions, determining the legality based
on the size is incorrect. Change operands to have the size
specified in the type.

Also adds a workaround for a disassembler bug that
produces an immediate MCOperand for an operand that
is supposed to be OPERAND_REGISTER.

The assembler appears to accept out of bounds immediates and
truncates them, but this seems to be an issue for 32-bit
already.

llvm-svn: 289306
2016-12-10 00:39:12 +00:00
..
AArch64 Move .mir tests to appropriate directories 2016-12-09 19:08:15 +00:00
AMDGPU AMDGPU: Fix handling of 16-bit immediates 2016-12-10 00:39:12 +00:00
ARM Move .mir tests to appropriate directories 2016-12-09 19:08:15 +00:00
AVR [AVR] Remove a set of redundant tests 2016-12-09 11:22:26 +00:00
BPF Revert "In visitSTORE, always use FindBetterChain, rather than only when UseAA is enabled." 2016-12-09 17:18:24 +00:00
Generic
Hexagon Move .mir tests to appropriate directories 2016-12-09 19:08:15 +00:00
Inputs
Lanai Move .mir tests to appropriate directories 2016-12-09 19:08:15 +00:00
Mips Revert "In visitSTORE, always use FindBetterChain, rather than only when UseAA is enabled." 2016-12-09 17:18:24 +00:00
MIR AMDGPU: Fix handling of 16-bit immediates 2016-12-10 00:39:12 +00:00
MSP430 Revert "In visitSTORE, always use FindBetterChain, rather than only when UseAA is enabled." 2016-12-09 17:18:24 +00:00
NVPTX
PowerPC [PPC] Add intrinsics for vector extract word and vector insert word. 2016-12-09 17:21:42 +00:00
SPARC
SystemZ Revert "In visitSTORE, always use FindBetterChain, rather than only when UseAA is enabled." 2016-12-09 17:18:24 +00:00
Thumb Revert "In visitSTORE, always use FindBetterChain, rather than only when UseAA is enabled." 2016-12-09 17:18:24 +00:00
Thumb2
WebAssembly [WebAssembly] Emit .import_global assembler directives 2016-12-01 00:11:15 +00:00
WinEH
X86 [X86] Regenerate test 2016-12-09 21:53:12 +00:00
XCore Revert "In visitSTORE, always use FindBetterChain, rather than only when UseAA is enabled." 2016-12-09 17:18:24 +00:00