[libcxx-commits] [PATCH] D59512: Add relational benchmark against a string constant.

Eric Fiselier via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Mar 21 01:52:01 PDT 2019


EricWF accepted this revision.
EricWF added inline comments.
This revision is now accepted and ready to land.


================
Comment at: libcxx/benchmarks/string.bench.cpp:272
+      benchmark::DoNotOptimize(Lhs);
+      switch (Rel()) {
+      case Relation::Eq:
----------------
We want this switch to be optimized away, right?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D59512





More information about the libcxx-commits mailing list