[all-commits] [llvm/llvm-project] 22dce1: [StandardInstrumentations] Only turn on -verify-cf...

aeubanks via All-commits all-commits at lists.llvm.org
Wed Mar 15 08:38:55 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22dce16ea76466c9b6ddacac7d7d99e888f646b4
      https://github.com/llvm/llvm-project/commit/22dce16ea76466c9b6ddacac7d7d99e888f646b4
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

  Changed paths:
    M llvm/lib/Passes/StandardInstrumentations.cpp

  Log Message:
  -----------
  [StandardInstrumentations] Only turn on -verify-cfg-preserved by default in expensive checks builds

https://llvm-compile-time-tracker.com/compare.php?from=3fd42f50d8aadb4d0c348ac17cd2115c1b0564a4&to=50c37f6fc62a1e7bb4f0e307c89f760d42dbe4e9&stat=instructions:u
shows that this is fairly expensive, 5-10% increase in compile time, and I'd like to add more similar checks under the same flag.

This matches the legacy pass manager.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D146068




More information about the All-commits mailing list