[PATCH] D89158: [NewPM] Run all EP callbacks under -O0
Arthur Eubanks via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 9 12:24:59 PDT 2020
aeubanks created this revision.
Herald added subscribers: llvm-commits, cfe-commits, hiraditya.
Herald added projects: clang, LLVM.
aeubanks requested review of this revision.
Some targets may add required passes via
TargetMachine::registerPassBuilderCallbacks(). We need to run those even
under -O0. As an example, BPFTargetMachine adds
BPFAbstractMemberAccessPass, a required pass.
Tests are a continuation of those added in
https://reviews.llvm.org/D89083.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D89158
Files:
clang/lib/CodeGen/BackendUtil.cpp
clang/test/CodeGen/bpf-O0.c
llvm/include/llvm/Passes/PassBuilder.h
llvm/lib/Passes/PassBuilder.cpp
llvm/test/CodeGen/BPF/optnone-2.ll
llvm/test/Other/new-pm-O0-ep-callbacks.ll
llvm/tools/opt/NewPMDriver.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89158.297307.patch
Type: text/x-patch
Size: 8193 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201009/1018de21/attachment.bin>
More information about the cfe-commits
mailing list