[PATCH] D76923: [NFC] Improve performances of Value::getSingleUndroppableUse

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 27 08:30:54 PDT 2020


jdoerfert added inline comments.


================
Comment at: llvm/include/llvm/IR/Use.h:152
 
-  Value *Val = nullptr;
+  PointerIntPair<Value *, 1> Val = {nullptr, 0};
   Use *Next = nullptr;
----------------
There is a comment needed here explaining what this encodes.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76923/new/

https://reviews.llvm.org/D76923





More information about the llvm-commits mailing list