[LLVMdev] Proposal: Move host CPU auto-detection out of the TargetMachine

Eric Christopher echristo at gmail.com
Fri Apr 11 16:20:25 PDT 2014


On Fri, Apr 11, 2014 at 4:02 PM, Reid Kleckner <rnk at google.com> wrote:
> On Fri, Apr 11, 2014 at 3:58 PM, Jim Grosbach <grosbach at apple.com> wrote:
>>
>> Now, one additional thing we could do (outside the scope of this proposal)
>> is also implement a fuzzer of some kind to look for target tests that don't
>> have an explicit arch/feature/whatever setting on the RUN line and run it
>> with all available -mcpu= values and see if it still passes (which is what
>> the lack of such things on the RUN line implies).
>
>
> We should totally do this.  We'll could have 'check' and 'check-alltargets'
> targets.

I don't feel too strongly, but ultimately am not going to kick and
scream if it happens. :)

I'm vaguely against it, but with this sort of workaround in testing I
guess it's ok.

-eric



More information about the llvm-dev mailing list