mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-13 17:00:01 +00:00
add a fixme for an experiment that defeated me for the time being.
llvm-svn: 97081
This commit is contained in:
parent
e22e8b7621
commit
35b88592cd
@ -490,6 +490,10 @@ void MatcherGen::EmitMatchCode(const TreePatternNode *N,
|
||||
void MatcherGen::EmitMatcherCode() {
|
||||
// If the pattern has a predicate on it (e.g. only enabled when a subtarget
|
||||
// feature is around, do the check).
|
||||
// FIXME: This should get emitted after the match code below to encourage
|
||||
// sharing. This can't happen until we get an X86ISD::AddrMode node made by
|
||||
// dag combine, eliminating the horrible side-effect-full stuff from
|
||||
// X86's MatchAddress.
|
||||
if (!Pattern.getPredicateCheck().empty())
|
||||
AddMatcherNode(new
|
||||
CheckPatternPredicateMatcherNode(Pattern.getPredicateCheck()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user