You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[TableGen][GlobalISel] Reorder atomic predicate to preserve the order
Since there are no opcodes for atomic loads and stores comparing to
SelectionDAG, we add CheckMMOIsNonAtomic predicate immediately after the
opcode predicate to make a logical combination of them. Otherwise when
IPM_AtomicOrderingMMO is inserted after IPM_GenericPredicate, the
patterns without predicates get a higher priority as
IPM_AtomicOrderingMMO has higher priority than IPM_GenericPredicate.
This is important to preserve order of aligned/unaligned patterns
on X86 because aligned memory operations have an additional alignment
predicate and should be checked first according to their placement in td
file.
Closes#121446
0 commit comments