[PATCH] D114768: [ADT] Remove 0-width Asserts in APInt.getZExtValue

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 30 13:35:07 PST 2021


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

LG



================
Comment at: llvm/unittests/ADT/APIntTest.cpp:3057
 
+  // Sign extension.
+  EXPECT_EQ(0U, ZW.getZExtValue());
----------------
Zero extension :)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114768



More information about the llvm-commits mailing list