From: Matt Arsenault Date: Tue, 29 Aug 2017 21:25:51 +0000 (+0000) Subject: AMDGPU: Fix typo X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e5eabbf0bdb67fef3da814fb6b4f02b1e278805d;p=llvm AMDGPU: Fix typo git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312040 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp b/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp index b7ddfe44c92..bb803b29f6d 100644 --- a/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp +++ b/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp @@ -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)) {