Differential Revision: https://reviews.llvm.org/D49704
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337771
91177308-0d34-0410-b5e6-
96231b3b80d8
; 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;
; }