1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/lib
Sander de Smalen e1e23467af Change semantics of fadd/fmul vector reductions.
This patch changes how LLVM handles the accumulator/start value
in the reduction, by never ignoring it regardless of the presence of
fast-math flags on callsites. This change introduces the following
new intrinsics to replace the existing ones:

  llvm.experimental.vector.reduce.fadd -> llvm.experimental.vector.reduce.v2.fadd
  llvm.experimental.vector.reduce.fmul -> llvm.experimental.vector.reduce.v2.fmul

and adds functionality to auto-upgrade existing LLVM IR and bitcode.

Reviewers: RKSimon, greened, dmgreen, nikic, simoll, aemerson

Reviewed By: nikic

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

llvm-svn: 363035
2019-06-11 08:22:10 +00:00
..
Analysis Factor out a helper function for readability and reuse in a future patch [NFC] 2019-06-10 20:41:27 +00:00
AsmParser Revert r361953 "[SVE][IR] Scalable Vector IR Type" 2019-06-09 19:27:50 +00:00
BinaryFormat
Bitcode Revert r361953 "[SVE][IR] Scalable Vector IR Type" 2019-06-09 19:27:50 +00:00
CodeGen Change semantics of fadd/fmul vector reductions. 2019-06-11 08:22:10 +00:00
DebugInfo Symbolize: Make DWPName a symbolizer option instead of an argument to symbolize{,Inlined}Code. 2019-06-11 02:32:27 +00:00
Demangle
ExecutionEngine [ExecutionEngine] Fix rL362941: Add UnaryOperator visitor to the interpreter 2019-06-10 16:05:25 +00:00
Fuzzer
FuzzMutate
IR Change semantics of fadd/fmul vector reductions. 2019-06-11 08:22:10 +00:00
IRReader
LineEditor
Linker
LTO
MC [MC][ELF] Don't create relocations with section symbols for STB_LOCAL ifunc 2019-06-07 03:47:22 +00:00
MCA [MCA] Further refactor the bottleneck analysis view. NFCI. 2019-06-10 12:50:08 +00:00
Object
ObjectYAML [yaml2obj/obj2yaml] - Make RawContentSection::Content and RawContentSection::Size optional 2019-06-10 12:43:18 +00:00
Option
Passes
ProfileData
Remarks
Support [AArch64] Add more CPUs to host detection 2019-06-11 00:05:36 +00:00
TableGen
Target [X86] Add load folding isel patterns to scalar_math_patterns and AVX512_scalar_math_fp_patterns. 2019-06-11 04:30:53 +00:00
Testing
TextAPI
ToolDrivers llvm-lib: Implement /machine: argument 2019-06-11 01:13:41 +00:00
Transforms Change semantics of fadd/fmul vector reductions. 2019-06-11 08:22:10 +00:00
WindowsManifest
XRay
CMakeLists.txt
LLVMBuild.txt