Skip to content

Commit

Permalink
[Bundle][Codegen] Ignore bundle for meta-instruction
Browse files Browse the repository at this point in the history
The purpose is to keep the default behavior as before.
Noticed by comments in D121600.

Reviewed By: bjope

Differential Revision: https://reviews.llvm.org/D122221
  • Loading branch information
KanRobert committed Mar 23, 2022
1 parent ff22501 commit b7a4b67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/include/llvm/CodeGen/MachineInstr.h
Expand Up @@ -814,7 +814,7 @@ class MachineInstr

/// 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);
}

Expand Down

0 comments on commit b7a4b67

Please sign in to comment.