Shuxin Yang 985dac6579 Memory Dependence Analysis (not mem-dep test) take advantage of "invariant.load" metadata.
The "invariant.load" metadata indicates the memory unit being accessed is immutable.
A load annotated with this metadata can be moved across any store.

As I am not sure if it is legal to move such loads across barrier/fence, this
change dose not allow such transformation.

rdar://11311484

Thank Arnold for code review.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176562 91177308-0d34-0410-b5e6-96231b3b80d8
2013-03-06 17:48:48 +00:00
..
2013-03-05 22:01:15 +00:00
2012-10-08 16:38:25 +00:00
2011-04-23 19:53:52 +00:00
2013-02-09 13:29:10 +00:00
2012-08-29 20:32:13 +00:00
2013-03-05 22:05:16 +00:00