[PATCH] D94559: [NewPM] Only non-trivially loop unswitch at -O3 and for non-optsize functions

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 13 14:46:01 PST 2021


aeubanks updated this revision to Diff 316521.
aeubanks added a comment.

fix ARM unswitch test: looks like minsize functions are becoming smaller, which is good


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94559/new/

https://reviews.llvm.org/D94559

Files:
  llvm/lib/Passes/PassBuilder.cpp
  llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
  llvm/test/Transforms/SimpleLoopUnswitch/ARM/nontrivial-unswitch-cost.ll
  llvm/test/Transforms/SimpleLoopUnswitch/pipeline.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94559.316521.patch
Type: text/x-patch
Size: 11255 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210113/4a661b25/attachment.bin>


More information about the llvm-commits mailing list