[PATCH] D102803: [Verifier] Remove some redundant checks

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 19 15:52:26 PDT 2021


dblaikie added inline comments.


================
Comment at: llvm/lib/Bitcode/Reader/BitcodeReader.cpp:5146-5149
+      if (FailureOrdering == AtomicOrdering::NotAtomic ||
+          FailureOrdering == AtomicOrdering::Unordered)
+        return error("Invalid record");
+
----------------
Does this have test coverage?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102803



More information about the llvm-commits mailing list