[all-commits] [llvm/llvm-project] ae90df: [FIX] Avoid creating BFI when emitting remarks for...
Wei Wang via All-commits
all-commits at lists.llvm.org
Tue Aug 25 11:13:00 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ae90df8e5a68c7df4ea3e552dd7f87270fbcb0c7
https://github.com/llvm/llvm-project/commit/ae90df8e5a68c7df4ea3e552dd7f87270fbcb0c7
Author: Wei Wang <apollo.mobility at gmail.com>
Date: 2020-08-25 (Tue, 25 Aug 2020)
Changed paths:
M llvm/lib/LTO/LTO.cpp
M llvm/test/LTO/Resolution/X86/dead-strip-fulllto.ll
Log Message:
-----------
[FIX] Avoid creating BFI when emitting remarks for dead functions
Dead function has its body stripped away, and can cause various
analyses to panic. Also it does not make sense to apply analyses on
such function.
Reviewed By: xazax.hun, MaskRay, wenlei, hoy
Differential Revision: https://reviews.llvm.org/D84715
More information about the All-commits
mailing list