[llvm] r312040 - AMDGPU: Fix typo
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 29 14:25:51 PDT 2017
Author: arsenm
Date: Tue Aug 29 14:25:51 2017
New Revision: 312040
URL: http://llvm.org/viewvc/llvm-project?rev=312040&view=rev
Log:
AMDGPU: Fix typo
Modified:
llvm/trunk/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
Modified: llvm/trunk/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp?rev=312040&r1=312039&r2=312040&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp Tue Aug 29 14:25:51 2017
@@ -264,10 +264,11 @@ bool SILoadStoreOptimizer::findMatchingD
// 2. It is safe to move MBBI down past the instruction that I will
// be merged into.
- if (MBBI->hasUnmodeledSideEffects())
+ if (MBBI->hasUnmodeledSideEffects()) {
// We can't re-order this instruction with respect to other memory
- // opeations, so we fail both conditions mentioned above.
+ // operations, so we fail both conditions mentioned above.
return false;
+ }
if (MBBI->mayLoadOrStore() &&
!memAccessesCanBeReordered(*CI.I, *MBBI, TII, AA)) {
More information about the llvm-commits
mailing list