[PATCH] D158815: [opt] Add option to strip optnone attribute

Aiden Grossman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 24 22:45:50 PDT 2023


aidengrossman added reviewers: nikic, aeubanks, jdoerfert.
aidengrossman added a subscriber: jdoerfert.
aidengrossman added a comment.
Herald added a subscriber: StephenFan.

@jdoerfert also suggested doing this in an IPO pass (like `FunctionAttrs`) but it seemed simple enough to implement this way. I couldn't think of any benefit of doing it within an IPO pass, but definitely could be missing something. Also wondering if there are reasons for not doing this as I thought there would've been something like this already.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158815



More information about the llvm-commits mailing list