]> granicus.if.org Git - llvm/commitdiff
AMDGPU: Fix typo
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 29 Aug 2017 21:25:51 +0000 (21:25 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 29 Aug 2017 21:25:51 +0000 (21:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312040 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/AMDGPU/SILoadStoreOptimizer.cpp

index b7ddfe44c925787cbe67f8cad477a0f86b3ccc26..bb803b29f6d43fdf71953fe442288532e649a647 100644 (file)
@@ -264,10 +264,11 @@ bool SILoadStoreOptimizer::findMatchingDSInst(CombineInfo &CI) {
       // 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)) {