[PATCH] D64601: [MemorySSA] Use SetVector to avoid nondeterminism.

Alina Sbirlea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 12 11:27:48 PDT 2019


asbirlea added a comment.

Hmm, AFAICT, there is no opt flag equivalent for LLVM_ENABLE_REVERSE_ITERATION. Did I miss it?

Would adding Mikael's test with the following checks work? I'm thinking the use list order is pretty specific to add as a CHECK, hence the arch restriction, but it may still be too specific.

  ; RUN: opt -simplifycfg -enable-mssa-loop-dependency -S --preserve-ll-uselistorder %s | FileCheck %s
  ; REQUIRES: x86-registered-target
  ; CHECK-LABEL: @n
  ; CHECK: uselistorder i16 0, { 3, 2, 4, 1, 5, 0, 6 }


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64601/new/

https://reviews.llvm.org/D64601





More information about the llvm-commits mailing list