Skip to content

Commit 14425ed

Browse files
committed
OnlyGISel comment
1 parent 05041c1 commit 14425ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/Target/AArch64/AArch64InstrInfo.td

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,6 +1116,8 @@ let RecomputePerFunction = 1 in {
11161116
def NoSLSBLRMitigation : Predicate<[{ !MF->getSubtarget<AArch64Subtarget>().hardenSlsBlr() }]>;
11171117

11181118
defvar GISelLegalizedCheck = "(!MF->getProperties().hasProperty(MachineFunctionProperties::Property::FailedISel) && MF->getProperties().hasProperty(MachineFunctionProperties::Property::Legalized))";
1119+
// Toggles patterns which are not used by SelectionDAG to reduce its
1120+
// match table/so as not to interfere with it.
11191121
def OnlyGISel : Predicate<GISelLegalizedCheck>;
11201122
// Toggles patterns which aren't beneficial in GlobalISel when we aren't
11211123
// optimizing. This allows us to selectively use patterns without impacting

0 commit comments

Comments
 (0)