[all-commits] [llvm/llvm-project] ee7d31: [DCE] Always get TargetLibraryInfo
aeubanks via All-commits
all-commits at lists.llvm.org
Tue Nov 17 20:41:32 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ee7d315cd939017db6ca6db4827b579e8bd85ec1
https://github.com/llvm/llvm-project/commit/ee7d315cd939017db6ca6db4827b579e8bd85ec1
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2020-11-17 (Tue, 17 Nov 2020)
Changed paths:
M llvm/lib/Transforms/Scalar/DCE.cpp
M llvm/test/Transforms/DCE/calls-errno.ll
Log Message:
-----------
[DCE] Always get TargetLibraryInfo
I don't see any reason not to unconditionally retrieve TLI, it's fairly
cheap.
Fixes calls-errno.ll under NPM.
Reviewed By: asbirlea
Differential Revision: https://reviews.llvm.org/D91476
More information about the All-commits
mailing list