Don't use a potentially expensive shift if all we want is one set bit.
[oota-llvm.git] / lib / Target / AArch64 / AArch64InstrFormats.td
index c6aa265638a425e630fa4eecc7dd18f5606cc57f..9dd122f149419377fd9e51c7a232160248901705 100644 (file)
@@ -6,11 +6,14 @@
 // License. See LICENSE.TXT for details.
 //
 //===----------------------------------------------------------------------===//
+// This file describes AArch64 instruction formats, down to the level of the
+// instruction's overall class.
+//===----------------------------------------------------------------------===//
+
 
 //===----------------------------------------------------------------------===//
-//
 // A64 Instruction Format Definitions.
-//
+//===----------------------------------------------------------------------===//
 
 // A64 is currently the only instruction set supported by the AArch64
 // architecture.
@@ -18,7 +21,7 @@ class A64Inst<dag outs, dag ins, string asmstr, list<dag> patterns,
               InstrItinClass itin>
     : Instruction {
   // All A64 instructions are 32-bit. This field will be filled in
-  // graually going down the hierarchy.
+  // gradually going down the hierarchy.
   field bits<32> Inst;
 
   field bits<32> Unpredictable = 0;