1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 13:02:52 +02:00
llvm-mirror/test/CodeGen
Rafael Espindola 4214740c57 Use sext in fast isel.
Fast isel used to zero extends immediates to 64 bits. This normally goes
unnoticed because the value is truncated to 32 bits for output.

Two cases were it is noticed:

* We fail to use smaller encodings.
* If the original constant was smaller than i32.

In the tests using i1 constants, codegen would change to use -1, which is fine
(and matches what regular isel does) since only the lowest bit is then used.

Instead, this patch then changes the ir to use i8 constants, which looks more
like what clang produces.

llvm-svn: 234249
2015-04-06 22:29:07 +00:00
..
AArch64 [DAGCombiner] Combine shuffles of BUILD_VECTOR and SCALAR_TO_VECTOR 2015-04-03 10:02:21 +00:00
ARM Verifier: Check that inlined-at locations agree 2015-04-03 16:54:30 +00:00
BPF [bpf] mark mov instructions as ReMaterializable 2015-03-31 02:49:58 +00:00
CPP
Generic
Hexagon Expand MUX instructions early on Hexagon 2015-03-31 13:35:12 +00:00
Inputs DebugInfo: Fix bad debug info for compile units and types 2015-03-27 20:46:33 +00:00
Mips Use sext in fast isel. 2015-04-06 22:29:07 +00:00
MSP430
NVPTX [NVPTX] Associate a minimum PTX version for each SM architecture 2015-03-30 19:30:55 +00:00
PowerPC Strip trailing whitespace and reword explanatory comment. 2015-04-04 02:26:47 +00:00
R600 [R600/SI] Fix testcase check line. 2015-03-27 20:41:42 +00:00
SPARC
SystemZ [SystemZ] Support transactional execution on zEC12 2015-04-01 12:51:43 +00:00
Thumb DebugInfo: Fix bad debug info for compile units and types 2015-03-27 20:46:33 +00:00
Thumb2
WinEH [WinEH] Don't sink allocas into child handlers 2015-04-06 18:50:38 +00:00
X86 Use sext in fast isel. 2015-04-06 22:29:07 +00:00
XCore