[llvm] r337771 - Fix typo in test/CodeGen/Mips/dins.ll

Thomas Anderson via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 23 16:19:53 PDT 2018


Author: thomasanderson
Date: Mon Jul 23 16:19:53 2018
New Revision: 337771

URL: http://llvm.org/viewvc/llvm-project?rev=337771&view=rev
Log:
Fix typo in test/CodeGen/Mips/dins.ll

Differential Revision: https://reviews.llvm.org/D49704

Modified:
    llvm/trunk/test/CodeGen/Mips/dins.ll

Modified: llvm/trunk/test/CodeGen/Mips/dins.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Mips/dins.ll?rev=337771&r1=337770&r2=337771&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Mips/dins.ll (original)
+++ llvm/trunk/test/CodeGen/Mips/dins.ll Mon Jul 23 16:19:53 2018
@@ -14,7 +14,7 @@
 ;   struct {
 ;     unsigned long long addr :37;
 ;     unsigned long long addr1 :15;
-;     unsigned int lenght:14;
+;     unsigned int length:14;
 ;     uint64_t total_bytes:16;
 ;     uint64_t segs : 6;
 ;   } s;
@@ -23,8 +23,8 @@
 ; unsigned long long foo(volatile struct cvmx_buf_ptr bufptr) {
 ;   bufptr.s.addr = 123;
 ;   bufptr.s.segs = 4;
-;   bufptr.s.lenght = 5;
-;   bufptr.s.total_bytes = bufptr.s.lenght;
+;   bufptr.s.length = 5;
+;   bufptr.s.total_bytes = bufptr.s.length;
 ;   return bufptr.s.addr;
 ; }
 




More information about the llvm-commits mailing list