[PATCH] D45330: [IPSCCP] Use PredicateInfo to propagate facts from cmp instructions.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 14 10:10:49 PDT 2018


fhahn added a comment.
Herald added a subscriber: steven_wu.

So it looks like the codegen differences come from PredicateInfo, rather than from the propagation. With only the parts of this patch to build and remove PredicateInfo, I get a small difference in the `strtab` section between a stage3 and stage4 build of clang with thin LTO, there's no difference in the  `.text` section.

I also had a look at the IR after IPSCCP for both stages, the only differences are some variable names/labels. I am not entirely sure yet, but I think that might be caused by small differences in the order the ssa_copy intrinsics for the predicates are emitted. Any ideas or pointers would be greatly appreciated :)


Repository:
  rL LLVM

https://reviews.llvm.org/D45330





More information about the llvm-commits mailing list