[PATCH] D148198: [ReachingDefs] make ReachingDefDefaultVal smaller

Bing Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 13 00:14:00 PDT 2023


yubing created this revision.
Herald added a project: All.
yubing requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D148198

Files:
  llvm/include/llvm/CodeGen/ReachingDefAnalysis.h


Index: llvm/include/llvm/CodeGen/ReachingDefAnalysis.h
===================================================================
--- llvm/include/llvm/CodeGen/ReachingDefAnalysis.h
+++ llvm/include/llvm/CodeGen/ReachingDefAnalysis.h
@@ -102,7 +102,7 @@
   MBBReachingDefsInfo MBBReachingDefs;
 
   /// Default values are 'nothing happened a long time ago'.
-  const int ReachingDefDefaultVal = -(1 << 20);
+  const int ReachingDefDefaultVal = -(1 << 21);
 
   using InstSet = SmallPtrSetImpl<MachineInstr*>;
   using BlockSet = SmallPtrSetImpl<MachineBasicBlock*>;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148198.513081.patch
Type: text/x-patch
Size: 559 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230413/46db58a9/attachment.bin>


More information about the llvm-commits mailing list