AMDGPU: Fix typo
llvm-svn: 312040
diff --git a/llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp b/llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
index b7ddfe4..bb803b2 100644
--- a/llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
+++ b/llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
@@ -264,10 +264,11 @@
// 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)) {