[PATCH] D29631: SystemZTargetTransformInfo cost functions and some common code changes

Renato Golin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 12 09:57:06 PDT 2017


rengolin added a comment.

In https://reviews.llvm.org/D29631#724916, @kparzysz wrote:

> All these tests fail on Hexagon as well.  From what I found out, it seems that "opt -analyze" ignores the mtriple option---you could set it to xyz and the test would still run and produce some output.  The Hexagon bot only builds the Hexagon backend, and sets the default triple to hexagon-unknown-elf.  I'm guessing that this causes Hexagon's costs to be printed regardless of the mtriple setting, which could lead to these failures.


Ah! Makes sense. Then maybe just adding the lit.config file to SystemZ directory would do?


https://reviews.llvm.org/D29631





More information about the llvm-commits mailing list