llvm-project/llvm/test/CodeGen
Fangrui Song 8ff86fcf4c [X86] -fpatchable-function-entry=N,0: place patch label after ENDBR{32,64}
Similar to D73680 (AArch64 BTI).

A local linkage function whose address is not taken does not need ENDBR32/ENDBR64. Placing the patch label after ENDBR32/ENDBR64 has the advantage that code does not need to differentiate whether the function has an initial ENDBR.

Also, add 32-bit tests and test that .cfi_startproc is at the function
entry. The line information has a general implementation and is tested
by AArch64/patchable-function-entry-empty.mir

Reviewed By: nickdesaulniers

Differential Revision: https://reviews.llvm.org/D73760
2020-02-04 09:42:36 -08:00
..
AArch64 [X86] -fpatchable-function-entry=N,0: place patch label after ENDBR{32,64} 2020-02-04 09:42:36 -08:00
AMDGPU [InstCombine] fix operands of shouldChangeType() for casted phi transform 2020-02-04 07:45:48 -05:00
ARC
ARM [ARM] Expand vector reduction intrinsics on soft float 2020-02-03 18:49:12 +01:00
AVR [AVR] Fix codegen for rotate instructions 2019-12-23 11:41:28 +08:00
BPF [BPF] handle typedef of struct/union for CO-RE relocations 2020-02-04 08:53:03 -08:00
Generic [CodeGenPrepare] Make TargetPassConfig required 2020-02-02 09:28:45 -08:00
Hexagon [Hexagon] Add REQUIRES: asserts to a testcase using -debug-only 2020-01-21 13:22:01 -06:00
Inputs
Lanai Revert "[Support] make report_fatal_error `abort` instead of `exit`" 2020-01-15 17:52:25 -08:00
MIR Revert "[Support] make report_fatal_error `abort` instead of `exit`" 2020-01-15 17:52:25 -08:00
MSP430 Migrate function attribute "no-frame-pointer-elim"="false" to "frame-pointer"="none" as cleanups after D56351 2019-12-24 16:27:51 -08:00
Mips Don't mark MIPS TRAP as isTerminator 2020-02-01 15:50:22 +00:00
NVPTX Consolidate internal denormal flushing controls 2020-01-17 20:09:53 -05:00
PowerPC [AIX] Don't use a zero fill with a second parameter 2020-02-03 15:16:08 -05:00
RISCV [TargetLowering] SimplifyDemandedBits - Remove ashr if all our demandedbits already match the sign bit 2020-01-25 17:36:46 +00:00
SPARC Revert "[Support] make report_fatal_error `abort` instead of `exit`" 2020-01-15 17:52:25 -08:00
SystemZ [SystemZ] Add 'REQUIRES:' or '-mtriple' to some newly added tests. 2020-02-04 10:52:10 -05:00
Thumb [Thumb][test] Fix CodeGen/Thumb/PR17309.ll after llvmorg-10-init-16046-ga36ddf0aa9d 2019-12-24 16:58:12 -08:00
Thumb2 [ARM][VecReduce] Force expand vector_reduce_fmin 2020-02-04 09:36:59 +00:00
VE [VE] half fptrunc+store&load+fpext 2020-02-04 17:16:09 +01:00
WebAssembly [WebAssembly] Preserve debug frame base information through register coloring 2020-01-28 16:58:15 -08:00
WinCFGuard Migrate function attribute "no-frame-pointer-elim"="false" to "frame-pointer"="none" as cleanups after D56351 2019-12-24 16:27:51 -08:00
WinEH Migrate function attribute "no-frame-pointer-elim"="false" to "frame-pointer"="none" as cleanups after D56351 2019-12-24 16:27:51 -08:00
X86 [X86] -fpatchable-function-entry=N,0: place patch label after ENDBR{32,64} 2020-02-04 09:42:36 -08:00
XCore Revert "[Support] make report_fatal_error `abort` instead of `exit`" 2020-01-15 17:52:25 -08:00