[llvm] b7a4b67 - [Bundle][Codegen] Ignore bundle for meta-instruction
Shengchen Kan via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 22 19:14:58 PDT 2022
Author: Shengchen Kan
Date: 2022-03-23T10:14:54+08:00
New Revision: b7a4b6738059ec34afbf416160cbce522fe99d62
URL: https://github.com/llvm/llvm-project/commit/b7a4b6738059ec34afbf416160cbce522fe99d62
DIFF: https://github.com/llvm/llvm-project/commit/b7a4b6738059ec34afbf416160cbce522fe99d62.diff
LOG: [Bundle][Codegen] Ignore bundle for meta-instruction
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
Added:
Modified:
llvm/include/llvm/CodeGen/MachineInstr.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/CodeGen/MachineInstr.h b/llvm/include/llvm/CodeGen/MachineInstr.h
index cd68e98ea0018..e0ca1645b35be 100644
--- a/llvm/include/llvm/CodeGen/MachineInstr.h
+++ b/llvm/include/llvm/CodeGen/MachineInstr.h
@@ -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);
}
More information about the llvm-commits
mailing list