This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG72badbcdccd1: [NPM] Move more O0 pass building into
PassBuilder (authored by aeubanks).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST AC
tejohnson accepted this revision.
tejohnson added a comment.
This revision is now accepted and ready to land.
lgtm
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91585/new/
https://reviews.llvm.org/D91585
___
aeubanks updated this revision to Diff 306473.
aeubanks added a comment.
change strings to check for
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91585/new/
https://reviews.llvm.org/D91585
Files:
clang/lib/CodeGen/BackendUtil.cpp
llvm/include
tejohnson added inline comments.
Comment at: llvm/lib/Passes/PassBuilder.cpp:2365
+Matches[1] != "lto") {
+ MPM.addPass(buildO0DefaultPipeline(L, Matches[1] != "default"));
return Error::success();
tejohnson wrote:
> I think it would be cleare
aeubanks marked an inline comment as done.
aeubanks added inline comments.
Comment at: llvm/lib/Passes/PassBuilder.cpp:2365
+ // Don't do anything for (thin)lto backend compiles at O0.
+ if (Matches[1] != "thinlto" && Matches[1] != "lto")
+MPM.addPass(buildO0Def
aeubanks updated this revision to Diff 306448.
aeubanks added a comment.
check 'thinlto-pre-link'/'lto-pre-link' explicitly
add test
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91585/new/
https://reviews.llvm.org/D91585
Files:
clang/lib/CodeGe
tejohnson added inline comments.
Comment at: llvm/lib/Passes/PassBuilder.cpp:2365
+Matches[1] != "lto") {
+ MPM.addPass(buildO0DefaultPipeline(L, Matches[1] != "default"));
return Error::success();
I think it would be clearer to check against
aeubanks updated this revision to Diff 305900.
aeubanks added a comment.
make build(Thin)LTODefaultPipeline handle O0
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91585/new/
https://reviews.llvm.org/D91585
Files:
clang/lib/CodeGen/BackendUtil.c
aeubanks planned changes to this revision.
aeubanks added inline comments.
Comment at: llvm/lib/Passes/PassBuilder.cpp:2365
+ // Don't do anything for (thin)lto backend compiles at O0.
+ if (Matches[1] != "thinlto" && Matches[1] != "lto")
+MPM.addPass(buildO0Def
aeubanks added inline comments.
Comment at: llvm/lib/Passes/PassBuilder.cpp:2365
+ // Don't do anything for (thin)lto backend compiles at O0.
+ if (Matches[1] != "thinlto" && Matches[1] != "lto")
+MPM.addPass(buildO0DefaultPipeline(L, Matches[1] != "default"));
tejohnson added a comment.
Thanks, generally this seems to be good cleanup. Question on one of the changes
below though.
Comment at: llvm/lib/Passes/PassBuilder.cpp:2365
+ // Don't do anything for (thin)lto backend compiles at O0.
+ if (Matches[1] != "thinlto" && Mat
aeubanks created this revision.
aeubanks added reviewers: ychen, asbirlea, tejohnson.
Herald added subscribers: llvm-commits, cfe-commits, wenlei, lxfind, steven_wu,
modocache, JDevlieghere, hiraditya.
Herald added projects: clang, LLVM.
aeubanks requested review of this revision.
This moves hand
12 matches
Mail list logo