[PATCH] D122221: [Bundle][Codegen] Ignore bundle for meta-instruction
Kan Shengchen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 22 04:50:04 PDT 2022
skan created this revision.
Herald added a project: All.
skan requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
The purpose is to keep the default behavior as before.
Noticed by comments in D121600 <https://reviews.llvm.org/D121600>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D122221
Files:
llvm/include/llvm/CodeGen/MachineInstr.h
Index: llvm/include/llvm/CodeGen/MachineInstr.h
===================================================================
--- llvm/include/llvm/CodeGen/MachineInstr.h
+++ llvm/include/llvm/CodeGen/MachineInstr.h
@@ -814,7 +814,7 @@
/// Return true if this instruction doesn't produce any output in the form of
/// executable instructions.
- bool isMetaInstruction(QueryType Type = AnyInBundle) const {
+ bool isMetaInstruction(QueryType Type = IgnoreBundle) const {
return hasProperty(MCID::Meta, Type);
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122221.417244.patch
Type: text/x-patch
Size: 520 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220322/cdb186e2/attachment.bin>
More information about the llvm-commits
mailing list