[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 16:22:11 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL337771: Fix typo in test/CodeGen/Mips/dins.ll (authored by thomasanderson, committed by ).
Herald added subscribers: llvm-commits, jrtc27.

Changed prior to commit:
  https://reviews.llvm.org/D49704?vs=156907&id=156917#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D49704

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


Index: llvm/trunk/test/CodeGen/Mips/dins.ll
===================================================================
--- llvm/trunk/test/CodeGen/Mips/dins.ll
+++ llvm/trunk/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.156917.patch
Type: text/x-patch
Size: 730 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180723/83086b37/attachment.bin>


More information about the cfe-commits mailing list