[all-commits] [llvm/llvm-project] a52b7b: PR50294: Fix a performance regression from 2c9dbcd.

Richard Smith via All-commits all-commits at lists.llvm.org
Tue Sep 7 10:47:05 PDT 2021


  Branch: refs/heads/release/13.x
  Home:   https://github.com/llvm/llvm-project
  Commit: a52b7bf7d1238bc34d5810884404993078beae01
      https://github.com/llvm/llvm-project/commit/a52b7bf7d1238bc34d5810884404993078beae01
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2021-09-07 (Tue, 07 Sep 2021)

  Changed paths:
    M clang/lib/Serialization/ASTReader.cpp

  Log Message:
  -----------
  PR50294: Fix a performance regression from 2c9dbcd.

Per the contract of ReadLateParsedTemplates, we should not be returning
the same results multiple times. No functionality change intended, other
than to runtime.

Thanks to Luboš Luňák for identifying the cause of the regression!

(cherry picked from commit 6eda66b0a9f793c65852aa94430ae9bd891bcf63)




More information about the All-commits mailing list