llvm-6502/test
Philip Reames cce3c83917 Refine memory dependence's notion of volatile semantics
According to my reading of the LangRef, volatiles are only ordered with respect to other volatiles. It is entirely legal and profitable to forward unrelated loads over the volatile load. This patch implements this for GVN by refining the transition rules MemoryDependenceAnalysis uses when encountering a volatile.

The added test cases show where the extra flexibility is profitable for local dependence optimizations. I have a related change (227110) which will extend this to non-local dependence (i.e. PRE), but that's essentially orthogonal to the semantic change in this patch. I have tested the two together and can confirm that PRE works over a volatile load with both changes.  I will be submitting a PRE w/volatiles test case seperately in the near future.

Differential Revision: http://reviews.llvm.org/D6901



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227112 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-26 18:54:27 +00:00
..
Analysis Fix incorrect partial aliasing 2015-01-26 17:31:17 +00:00
Assembler IR: Update references to temporaries before deleting 2015-01-22 21:36:45 +00:00
Bindings IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
Bitcode [Bitcode] Diagnose errors instead of asserting from bad input 2015-01-24 04:15:05 +00:00
BugPoint IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
CodeGen Model sqrtsd as a binary operation with one source operand tied to the destination (PR14221) 2015-01-26 18:42:16 +00:00
DebugInfo Debug info: Fix PR22296 by omitting the DW_AT_location if we lost the 2015-01-25 19:04:08 +00:00
ExecutionEngine Remove a few more redundant ExecutionEngine regression tests. 2015-01-24 22:41:13 +00:00
Feature IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
FileCheck
Instrumentation [msan] Update origin for the entire destination range on memory store. 2015-01-21 13:21:31 +00:00
Integer
JitListener IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
Linker IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
LTO
MC Move the Mips target to storing the ABI in the TargetMachine rather 2015-01-26 17:33:46 +00:00
Object [ELFYAML] Support mips64 relocation record format in yaml2obj/obj2yaml 2015-01-25 13:29:25 +00:00
Other If we see UTF-8 BOM sequence at the beginning of a response file, we shall 2015-01-24 04:23:08 +00:00
SymbolRewriter
TableGen
tools Fix the problem with llvm-objdump and -archive-headers in printing the archive header size field. 2015-01-23 21:02:44 +00:00
Transforms Refine memory dependence's notion of volatile semantics 2015-01-26 18:54:27 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in Reverting r226937: lit: Make MCJIT's supported arch check case insensitive 2015-01-24 01:42:44 +00:00
Makefile
Makefile.tests
TestRunner.sh