[PATCH] D41574: [Transforms] Adding a WeakReassociate pass

Omer Paparo Bivas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 26 00:42:14 PST 2017


opaparo updated this revision to Diff 128152.
opaparo added a comment.

Now using the constant's value rather than its pointer value for enforcing total order on LeafClasses. This is needed in order to ensure deterministic output of the compiler (I actually got different results when running with different OSs before this change).


Repository:
  rL LLVM

https://reviews.llvm.org/D41574

Files:
  include/llvm/InitializePasses.h
  include/llvm/Transforms/Scalar.h
  lib/Transforms/IPO/PassManagerBuilder.cpp
  lib/Transforms/Scalar/CMakeLists.txt
  lib/Transforms/Scalar/Scalar.cpp
  lib/Transforms/Scalar/WeakReassociate.cpp
  test/Transforms/WeakReassociate/or_or_shift.ll
  test/Transforms/WeakReassociate/or_or_xor_and.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41574.128152.patch
Type: text/x-patch
Size: 21077 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171226/c7976daf/attachment.bin>


More information about the llvm-commits mailing list