diff options
author | Philip Reames <listmail@philipreames.com> | 2022-03-25 10:01:39 -0700 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2022-03-25 10:04:10 -0700 |
commit | ec858f02015c32c683852fe72761a2e610dc5785 (patch) | |
tree | d5fe7394e7b206507bb7007275db1c481a3ad812 /llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp | |
parent | a16308c2823b37721f786a911323f55b313f6d77 (diff) | |
download | llvm-ec858f02015c32c683852fe72761a2e610dc5785.zip llvm-ec858f02015c32c683852fe72761a2e610dc5785.tar.gz llvm-ec858f02015c32c683852fe72761a2e610dc5785.tar.bz2 |
[SLP] Optimize stacksave dependence handling [NFC]
After writing the commit message for 4b1bace28, realized that the mentioned optimization was rather straight forward. We already have the code for scanning a block during region initialization, we can simply keep track if we've seen a stacksave or stackrestore. If we haven't, none of these dependencies are relevant and we can avoid the relatively expensive scans entirely.
Diffstat (limited to 'llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions