[PATCH] D49704: Fix typo in test/CodeGen/Mips/dins.ll

Tom Anderson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 23 15:49:50 PDT 2018


thomasanderson created this revision.
thomasanderson added a reviewer: pcc.
Herald added subscribers: atanasyan, arichardson, sdardis.

https://reviews.llvm.org/D49704

Files:
  test/CodeGen/Mips/dins.ll


Index: test/CodeGen/Mips/dins.ll
===================================================================
--- test/CodeGen/Mips/dins.ll
+++ test/CodeGen/Mips/dins.ll
@@ -14,17 +14,17 @@
 ;   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;
 ; }
 ;
 ; 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;
 ; }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49704.156907.patch
Type: text/x-patch
Size: 697 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180723/a281b86a/attachment.bin>


More information about the cfe-commits mailing list