]> granicus.if.org Git - llvm/commit
[GVN] PRE of unordered loads
authorPhilip Reames <listmail@philipreames.com>
Fri, 6 May 2016 21:43:51 +0000 (21:43 +0000)
committerPhilip Reames <listmail@philipreames.com>
Fri, 6 May 2016 21:43:51 +0000 (21:43 +0000)
commitbcb4c00b7882359962273d0ac6e4254f5beecf5c
treefe1e08d78ea333eda784c053a677448a995cd612
parentffe5d4f88c58872a708684984db38b975475fccc
[GVN] PRE of unordered loads

Again, fairly simple.  Only change is ensuring that we actually copy the property of the load correctly.  The aliasing legality constraints were already handled by the FRE patches.  There's nothing special about unorder atomics from the perspective of the PRE algorithm itself.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268804 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/GVN.cpp
test/Transforms/GVN/atomic.ll