[all-commits] [llvm/llvm-project] 04224d: [InferAddressSpaces] Register pass. (#65639)
Harald van Dijk via All-commits
all-commits at lists.llvm.org
Thu Sep 7 13:35:29 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 04224d1ae72388b9b217555049f4219737ee26c6
https://github.com/llvm/llvm-project/commit/04224d1ae72388b9b217555049f4219737ee26c6
Author: Harald van Dijk <harald at gigawatt.nl>
Date: 2023-09-07 (Thu, 07 Sep 2023)
Changed paths:
M llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
Log Message:
-----------
[InferAddressSpaces] Register pass. (#65639)
InferAddressSpaces failed to call its initialization function. It was
still called through initializeScalarOpts in llc and opt, but it was
skipped entirely in clang. When the initialization function is not
called, this results in confusing behavior where the pass appears to
run, but not entirely as it should, e.g. the pass is excluded from
-print-before-all and -print-after-all.
More information about the All-commits
mailing list