aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2021-04-19 13:19:39 -0700
committerPhilip Reames <listmail@philipreames.com>2021-04-19 13:20:50 -0700
commit3c54762226ed9bcb84dfdef9f8e6e6a2c6a971a0 (patch)
tree1d14a915d3dc723bd0c32d8da2523b030a8aceb1 /llvm/lib/CodeGen/MachineScheduler.cpp
parent782c3e23ba09ca7b01034d0fbf0b34044c1c79a3 (diff)
downloadllvm-3c54762226ed9bcb84dfdef9f8e6e6a2c6a971a0.zip
llvm-3c54762226ed9bcb84dfdef9f8e6e6a2c6a971a0.tar.gz
llvm-3c54762226ed9bcb84dfdef9f8e6e6a2c6a971a0.tar.bz2
[funcattrs] Consistently check call site attributes
This is mostly stylistic cleanup after D100226, but not entirely. When skimming the code, I found one case where we weren't accounting for attributes on the callsite at all. I'm also suspicious we had some latent bugs related to operand bundles (which are supposed to be able to *override* attributes on declarations), but I don't have concrete test cases for those, just suspicions. Aside: The only case left in the file which directly checks attributes on the declaration is the norecurse logic. I left that because I didn't understand it; it looks obviously wrong, so I suspect I'm misinterpreting the intended semantics of the attribute. Differential Revision: https://reviews.llvm.org/D100689
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions