1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/test/CodeGen
Tom Stellard f13abceda7 AMDGPU: Implement expansion of f16 = FP_TO_FP16 f64
I wanted to implement this as a target independent expansion, however when
targets say they want to expand FP_TO_FP16 what they actually want is
the unsafe math expansion when possible and expansion to a libcall in all
other cases.

The only way to make this work as a target independent would be to add logic
to target's TargetLowering construction to mark theses nodes as Expand when
LegalizeDAG can use the unsafe expansion and mark them as LibCall when it
cannot.  I think this would be possible, but I think it would be too fragile
and complex as it would require targets to keep their expansion logic up
to date with the code in LegalizeDAG.

Reviewers: bogner, ab, t.p.northover, arsenm

Subscribers: wdng, llvm-commits, nhaehnle

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

llvm-svn: 285704
2016-11-01 16:31:48 +00:00
..
AArch64 GlobalISel: allow truncating pointer casts on AArch64. 2016-10-31 18:31:09 +00:00
AMDGPU AMDGPU: Implement expansion of f16 = FP_TO_FP16 f64 2016-11-01 16:31:48 +00:00
ARM This is a 1 character fix for an ARM build attribute test (r284571): the 2016-11-01 15:59:37 +00:00
AVR
BPF
Generic
Hexagon [Hexagon] Don't expand mux instructions with both sources identical 2016-10-31 15:45:09 +00:00
Inputs
Lanai
Mips [mips] Do not allow -opt-bisect-limit to skip the PIC call optimization pass. 2016-10-27 15:50:36 +00:00
MIR AMDGPU/SI: Don't use non-0 waitcnt values when waiting on Flat instructions 2016-10-28 23:53:48 +00:00
MSP430
NVPTX [NVPTX] Remove NVPTXFavorNonGenericAddrSpaces pass. 2016-10-31 21:51:42 +00:00
PowerPC [PowerPC] Implement vector shift builtins - llvm portion 2016-11-01 09:42:32 +00:00
SPARC [Sparc][LEON] Test for FixFDIVSQRT erratum fix. 2016-11-01 14:23:37 +00:00
SystemZ [SystemZ] Do not use LOC(G) for volatile loads 2016-10-25 15:39:15 +00:00
Thumb
Thumb2 [Thumb-1] Synthesize TBB/TBH instructions to make use of compressed jump tables 2016-11-01 13:37:41 +00:00
WebAssembly [WebAssembly] Add immediate fields to call_indirect and memory operators. 2016-10-25 16:55:52 +00:00
WinEH
X86 [DAG] disable nsw/nuw for add/sub/mul when simplifying based on demanded bits (PR30841) 2016-10-31 23:28:45 +00:00
XCore