summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/static-init-wasm.cpp
diff options
context:
space:
mode:
authorJessica Paquette <jpaquette@apple.com>2018-08-31 20:20:57 +0000
committerJessica Paquette <jpaquette@apple.com>2018-08-31 20:20:57 +0000
commit9a23c5592083384aea3494882170488e30138f36 (patch)
tree5ee9708b0c21ad3686c6967c6365ad6f7485cf12 /clang/test/CodeGenCXX/static-init-wasm.cpp
parent1fc443b8877e16c145a73158ed68def18f9f1f6a (diff)
downloadbcm5719-llvm-9a23c5592083384aea3494882170488e30138f36.tar.gz
bcm5719-llvm-9a23c5592083384aea3494882170488e30138f36.zip
[NFC] Pass the instruction delta to emitInstrCountChangedRemark
Instead of counting the size of the entire module every time we run a pass, pass along a delta instead and use that to emit the remark. This means we only have to use (on average) smaller IR units to calculate instruction counts. E.g, in a BB pass, we only need to look at the delta of the BB instead of the delta of the entire module. 6/6 (This improved compile time for size remarks on sqlite3 + O2 significantly) llvm-svn: 341250
Diffstat (limited to 'clang/test/CodeGenCXX/static-init-wasm.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud