Skip to content
  • Andrew Trick's avatar
    Fix indvars randomness by removing iteration over a map. · d50861c8
    Andrew Trick authored
    I rewrote the algorithm a while back so it doesn't require map lookup,
    but neglected to change the data structure. This was caught by
    llvm-gcc self host, not because there's anything special about
    llvm-gcc, but because it is the only test for nondeterminism we
    currently have. Unit tests don't work well for everything; we should
    always try to have a nondeterminism stress test running.
    
    Fixes PR11133: llvm-gcc self host .o mismatch after enable-iv-rewrite=false
    
    llvm-svn: 142036
    d50861c8
Loading