[PATCH] D37600: Preserve existing registers when adding pristines to LivePhysRegs

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 8 09:16:04 PDT 2017


MatzeB accepted this revision.
MatzeB added a comment.
This revision is now accepted and ready to land.

LGTM, thanks



================
Comment at: include/llvm/CodeGen/LiveRegUnits.h:54
   /// Returns true if the set is empty.
-  bool empty() const { return Units.empty(); }
+  bool empty() const { return Units.none(); }
 
----------------
Good catch


Repository:
  rL LLVM

https://reviews.llvm.org/D37600





More information about the llvm-commits mailing list