[PATCH] D12506: Distinguish "native" from "native-arch" in lit testing

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 1 09:42:33 PDT 2015


joker.eph added a comment.

Using the DEFAULT_TRIPLE to run the validation on test that were not designed for this triple does not make any sense either. I'm validating GPU backends, and it won't be able to handle all the test cases that were not written specifically for it. There is absolutely no guarantee in general that a backend will properly handle the IR generated and processed for another target. 
For instance, I just tried to configure the default target triple to "amdgcn--amdhsa" and configure in the X86 and AMDGPU backends. Running `ninja check` yields 202 failures.


http://reviews.llvm.org/D12506





More information about the llvm-commits mailing list