diff options
author | Andrew Litteken <andrew.litteken@gmail.com> | 2022-03-13 23:34:30 -0500 |
---|---|---|
committer | Andrew Litteken <andrew.litteken@gmail.com> | 2022-03-20 23:39:23 -0500 |
commit | 38e8880e931293dab8e90cac731e4bda2306836d (patch) | |
tree | 9d9ffa82bd0cb80bf0c6d1f9080d50a4a699ab1a /llvm/lib/CodeGen/MachineInstrBundle.cpp | |
parent | 01136c0530e2060927f094777664d94185f29c87 (diff) | |
download | llvm-38e8880e931293dab8e90cac731e4bda2306836d.zip llvm-38e8880e931293dab8e90cac731e4bda2306836d.tar.gz llvm-38e8880e931293dab8e90cac731e4bda2306836d.tar.bz2 |
[IROutliner] Do not outlined from functions with optnone
Since the IROutliner is performing an optimization, it should not outline from functions explicitly marked with optnone. This adds an extra check and test to make sure this does not occur.
Reviewers: paquette
Differential Revision: https://reviews.llvm.org/D121567
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstrBundle.cpp')
0 files changed, 0 insertions, 0 deletions