[PATCH] D46048: [branchfolding] When hoisting common code, remove kill flags from uses

Karl-Johan Karlsson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 26 02:12:47 PDT 2018


Ka-Ka added a comment.

In https://reviews.llvm.org/D46048#1079135, @jonpa wrote:

> Adding Uli as a reviewer for the test case, since it's SystemZ (he always reviews SystemZ changes). Note: as Kalle explained to me in a mail, this test case has been somewhat modified to expose the bug on SystemZ, but since this is a .mir test case which passes the machine verifier, I think this is not a problem.


The fault was originally found in a out of tree target, but I was able to reproduce the fault on SystemZ as my out of tree target and SystemZ share the same register characteristics (the register r0d is a pair of r0h and r0l and they can be written to separately) needed to trigger the fault.


Repository:
  rL LLVM

https://reviews.llvm.org/D46048





More information about the llvm-commits mailing list