[llvm] r218324 - Fix typo

Matt Arsenault Matthew.Arsenault at amd.com
Tue Sep 23 11:30:57 PDT 2014


Author: arsenm
Date: Tue Sep 23 13:30:57 2014
New Revision: 218324

URL: http://llvm.org/viewvc/llvm-project?rev=218324&view=rev
Log:
Fix typo

Modified:
    llvm/trunk/lib/Target/R600/SIInstrInfo.cpp

Modified: llvm/trunk/lib/Target/R600/SIInstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/SIInstrInfo.cpp?rev=218324&r1=218323&r2=218324&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/SIInstrInfo.cpp (original)
+++ llvm/trunk/lib/Target/R600/SIInstrInfo.cpp Tue Sep 23 13:30:57 2014
@@ -1146,9 +1146,10 @@ bool SIInstrInfo::isOperandLegal(const M
   // Handle non-register types that are treated like immediates.
   assert(MO->isImm() || MO->isFPImm() || MO->isTargetIndex() || MO->isFI());
 
-  if (!DefinedRC)
-    // This opperand expects an immediate
+  if (!DefinedRC) {
+    // This operand expects an immediate.
     return true;
+  }
 
   return RI.regClassCanUseImmediate(DefinedRC);
 }





More information about the llvm-commits mailing list