[all-commits] [llvm/llvm-project] 76b0ea: Reset NextFnNum in MachineModuleInfo::initialize
Roman Tereshin via All-commits
all-commits at lists.llvm.org
Mon Apr 19 15:52:00 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 76b0ea7f2d5c935bc7975d6b77db20f947e13f9a
https://github.com/llvm/llvm-project/commit/76b0ea7f2d5c935bc7975d6b77db20f947e13f9a
Author: Roman Tereshin <rtereshin at apple.com>
Date: 2021-04-19 (Mon, 19 Apr 2021)
Changed paths:
M llvm/lib/CodeGen/MachineModuleInfo.cpp
Log Message:
-----------
Reset NextFnNum in MachineModuleInfo::initialize
In an env that reuses compiler instances for multiple compilations, this
omission results in non-deterministic assembly output (names of the
auto-generated labels) if the order or full set of Modules compiled
varies.
Differential Revision: https://reviews.llvm.org/D100797
More information about the All-commits
mailing list