Skip to content
  • Chris Lattner's avatar
    Fix PR2590 by making PatternSortingPredicate actually be · d39f75ba
    Chris Lattner authored
    ordered correctly.  Previously it would get in trouble when
    two patterns were too similar and give them nondet ordering.
    We force this by using the record ID order as a fallback.
    
    The testsuite diff is due to alpha patterns being ordered
    slightly differently, the change is a semantic noop afaict:
    
    < 	lda $0,-100($16)
    ---
    > 	subq $16,100,$0
    
    llvm-svn: 97509
    d39f75ba
Loading