llvm-project/llvm/test/CodeGen
Reid Kleckner 41fb2dba9c [X86] Fix Windows `i1 zeroext` conventions to use i8 instead of i32
Summary:
Re-lands r328386 and r328443, reverting r328482.

Incorporates fixes from @mstorsjo in D44876 (thanks!) so that small
parameters in i8 and i16 do not end up in the SysV register parameters
(EDI, ESI, etc).

I added tests for how we receive small parameters, since that is the
important part. It's always safe to store more bytes than will be read,
but the assumptions you make when loading them are what really matter.

I also tested this by self-hosting clang and it passed tests on win64.

Reviewers: mstorsjo, hans

Subscribers: hiraditya, mstorsjo, llvm-commits

Differential Revision: https://reviews.llvm.org/D44900

llvm-svn: 328570
2018-03-26 18:49:48 +00:00
..
AArch64 [AArch64] Don't reduce the width of loads if it prevents combining a shift 2018-03-23 14:47:07 +00:00
AMDGPU [AMDGPU] Update OpenCL to use 48 bytes of implicit arguments for AMDGPU 2018-03-23 18:58:47 +00:00
ARC
ARM [ARM] Support float literals under XO 2018-03-23 13:02:03 +00:00
AVR [AVR] Add a regression test for struct return lowering 2018-03-20 11:23:03 +00:00
BPF bpf: Extends zero extension elimination beyond comparison instructions 2018-03-13 06:47:03 +00:00
Generic [MergeICmps] Re-land 324317 "Enable the MergeICmps Pass by default." 2018-03-19 13:37:04 +00:00
Hexagon [Hexagon] Add more lit tests 2018-03-26 17:53:48 +00:00
Inputs
Lanai
MIR [MIR] Allow frame-setup and frame-destroy on the same instruction 2018-03-13 19:53:16 +00:00
MSP430
Mips [FastISel] Sink local value materializations to first use 2018-03-14 21:54:21 +00:00
NVPTX [NVPTX] Make tensor shape part of WMMA intrinsic's name. 2018-03-21 21:55:02 +00:00
Nios2
PowerPC [Power9]Legalize and emit code for quad-precision convert from double-precision 2018-03-26 17:46:25 +00:00
RISCV [RISCV] Use init_array instead of ctors for RISCV target, by default 2018-03-24 18:37:19 +00:00
SPARC Re-enable "[MachineCopyPropagation] Extend pass to do COPY source forwarding" 2018-02-27 16:59:10 +00:00
SystemZ [SystemZ] Add "REQUIRES: asserts" to test case to fix build bots. 2018-03-20 08:29:19 +00:00
Thumb [ARM] Fix "Constant pool entry out of range!" in Thumb1 mode 2018-03-23 17:53:27 +00:00
Thumb2 [CodeGen] Add a new pass for PostRA sink 2018-03-22 20:06:47 +00:00
WebAssembly [WebAssembly] Strip threadlocal attribute from globals in single thread mode 2018-03-20 22:01:32 +00:00
WinCFGuard
WinEH
X86 [X86] Fix Windows `i1 zeroext` conventions to use i8 instead of i32 2018-03-26 18:49:48 +00:00
XCore [XCore] Return true in enableMultipleCopyHints(). 2018-02-26 08:03:32 +00:00