[PATCH] D73835: [IRBuilder] Virtualize IRBuilder

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 11 12:33:21 PST 2020


nikic added a comment.

For the same test case as before, instruction counts with `-emit-llvm -Xclang -disable-llvm-passes`:

  # before
  8.409.134.507
  8.439.851.250
  8.436.145.165
  # after
  8.415.563.795
  8.426.474.507
  8.434.608.865

So this still looks like noise to me. And looking at a `perf` trace, IRBuilder methods show up with fractions of `0,01-0,04%`, even with all optimizations and codegen disabled, so it's not very surprising that there is no observable difference.


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

https://reviews.llvm.org/D73835





More information about the llvm-commits mailing list