[llvm] b7cdb13 - [ValueLattice] Use 8 bits for Tag.

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 18 05:35:51 PDT 2020


Author: Florian Hahn
Date: 2020-04-18T13:31:17+01:00
New Revision: b7cdb138afaaf5d0ddc0d7e899e5239b6faab43c

URL: https://github.com/llvm/llvm-project/commit/b7cdb138afaaf5d0ddc0d7e899e5239b6faab43c
DIFF: https://github.com/llvm/llvm-project/commit/b7cdb138afaaf5d0ddc0d7e899e5239b6faab43c.diff

LOG: [ValueLattice] Use 8 bits for Tag.

Suggested as follow-up in D78145 post-commit to be more machine friendly.

Added: 
    

Modified: 
    llvm/include/llvm/Analysis/ValueLattice.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Analysis/ValueLattice.h b/llvm/include/llvm/Analysis/ValueLattice.h
index 6f054fd1ffc8..51ddd103fcfb 100644
--- a/llvm/include/llvm/Analysis/ValueLattice.h
+++ b/llvm/include/llvm/Analysis/ValueLattice.h
@@ -75,7 +75,7 @@ class ValueLatticeElement {
     overdefined,
   };
 
-  ValueLatticeElementTy Tag : 6;
+  ValueLatticeElementTy Tag : 8;
   /// Number of times a constant range has been extended with widening enabled.
   unsigned NumRangeExtensions : 8;
 


        


More information about the llvm-commits mailing list