1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test
Craig Topper 707737eef4 [DAGCombiner][AMDGPU][Mips] Fold bitcast with volatile loads if the resulting load is legal for the target.
Summary:
I'm not sure if this patch is correct or if it needs more qualifying somehow. Bitcast shouldn't change the size of the load so it should be ok? We already do something similar for stores. We'll change the type of a volatile store if the resulting store is Legal or Custom. I'm not sure we should be allowing Custom there...

I was playing around with converting X86 atomic loads/stores(except seq_cst) into regular volatile loads and stores during lowering. This would allow some special RMW isel patterns in X86InstrCompiler.td to be removed. But there's some floating point patterns in there that didn't work because we don't fold (f64 (bitconvert (i64 volatile load))) or (f32 (bitconvert (i32 volatile load))).

Reviewers: efriedma, atanasyan, arsenm

Reviewed By: efriedma

Subscribers: jvesely, arsenm, sdardis, kzhuravl, wdng, yaxunl, dstuttard, tpr, t-tye, arichardson, jrtc27, atanasyan, jfb, llvm-commits

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

llvm-svn: 340797
2018-08-28 03:47:20 +00:00
..
Analysis [PPC] Remove Darwin support from POWER backend. 2018-08-28 01:18:29 +00:00
Assembler [MC, RISCV] Fixed StringRef Assertion `Index < Length && "Invalid index!"' 2018-08-25 01:34:32 +00:00
Bindings
Bitcode Allow creating llvm::Function in non-zero address spaces 2018-08-23 09:25:17 +00:00
BugPoint
CodeGen [DAGCombiner][AMDGPU][Mips] Fold bitcast with volatile loads if the resulting load is legal for the target. 2018-08-28 03:47:20 +00:00
DebugInfo DebugInfo: Fix skipping CUs in DWARFv5 debug_names table 2018-08-24 20:31:05 +00:00
Demangle [MS Demangler] Re-write the Microsoft demangler. 2018-08-27 03:48:03 +00:00
Examples
ExecutionEngine [RuntimeDyld] Add test case that was accidentally left out of r340125. 2018-08-27 22:48:01 +00:00
Feature
FileCheck
Instrumentation Fix global_metadata_external_comdat.ll test 2018-08-21 00:03:21 +00:00
Integer
JitListener
Linker [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
LTO Enrich inline messages 2018-08-05 14:53:08 +00:00
MC [PowerPC][MC] Support expressions in getMemRIX16Encoding. 2018-08-27 17:37:43 +00:00
Object
ObjectYAML
Other Recommit r333268: [IPSCCP] Use PredicateInfo to propagate facts from cmp instructions. 2018-08-23 11:04:00 +00:00
SafepointIRVerifier SafepointIRVerifier is made unreachable block tolerant 2018-05-23 05:54:55 +00:00
SymbolRewriter
TableGen
ThinLTO/X86 [lit, python] Remove quotes around %python in cache.ll 2018-08-27 16:33:13 +00:00
tools [PPC] Remove Darwin support from POWER backend. 2018-08-28 01:18:29 +00:00
Transforms [InstCombine] Extend (add (sext x), cst) --> (sext (add x, cst')) and (add (zext x), cst) --> (zext (add x, cst')) to work for vectors 2018-08-28 02:02:29 +00:00
Unit
Verifier Verifier: verify that a DILocation's scope is a DILocalScope. 2018-08-24 21:01:58 +00:00
YAMLParser
.clang-format Add .clang-format without column limit to subdirectory tests/. 2013-11-19 04:26:05 +00:00
CMakeLists.txt
lit.cfg.py
lit.site.cfg.py.in Remove 'abi-breaking-checks' lit feature. 2018-05-09 12:39:39 +00:00
TestRunner.sh Use exec. 2010-08-29 14:49:00 +00:00