[llvm-commits] [polly] r153439 - /polly/trunk/CMakeLists.txt
Tobias Grosser
tobias at grosser.es
Mon Mar 26 08:55:17 PDT 2012
On 03/26/2012 05:51 PM, Hongbin Zheng wrote:
>> I was thinking of executing one the '.ll' files, which we execute in
> do you mean the test case's source (%s) instead of a dummy ll file? I
> need to know how the value of %s, otherwise something like:
> lli %x, where %x="%s"
> may not work, or do you have better way?
I am a little confused.
I would create an empty is_x86.ll file where I would add the target-arch
string and a main function that returns 0. Then I would execute it with
'lli is_x86.ll' during configure and set EAT_ERR_ON_X86 accordingly.
This should work, but maybe someone knows a less hackish way.
Tobi
More information about the llvm-commits
mailing list