diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-08-29 21:19:21 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-08-29 21:19:21 +0000 |
commit | f036f7a1e79910bf5b5b6f37d2e512b4f01155a0 (patch) | |
tree | c2767358bf504fd67496b37d8d42e5c3c034b62b /lib/Target/Hexagon | |
parent | ad7ebc2aebd94ec9e0bd01e1735d06cfe067368b (diff) | |
download | external_llvm-f036f7a1e79910bf5b5b6f37d2e512b4f01155a0.zip external_llvm-f036f7a1e79910bf5b5b6f37d2e512b4f01155a0.tar.gz external_llvm-f036f7a1e79910bf5b5b6f37d2e512b4f01155a0.tar.bz2 |
Rename hasVolatileMemoryRef() to hasOrderedMemoryRef().
Ordered memory operations are more constrained than volatile loads and
stores because they must be ordered with respect to all other memory
operations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162861 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Hexagon')
-rw-r--r-- | lib/Target/Hexagon/HexagonVLIWPacketizer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp b/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp index a03ed03..3d5f685 100644 --- a/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp +++ b/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp @@ -3474,8 +3474,8 @@ bool HexagonPacketizerList::isLegalToPacketizeTogether(SUnit *SUI, SUnit *SUJ) { // 1. Two loads unless they are volatile. // 2. Two stores in V4 unless they are volatile. else if ((DepType == SDep::Order) && - !I->hasVolatileMemoryRef() && - !J->hasVolatileMemoryRef()) { + !I->hasOrderedMemoryRef() && + !J->hasOrderedMemoryRef()) { if (QRI->Subtarget.hasV4TOps() && // hexagonv4 allows dual store. MCIDI.mayStore() && MCIDJ.mayStore()) { |