[llvm] r206211 - [ARM64][MC] Set the default CPU to cyclone when initilizating the MC layer.

Tim Northover t.p.northover at gmail.com
Wed Apr 16 12:37:35 PDT 2014


> Of course a target should be able to provide a cpu type called “generic" if
> it wants to. If the driver for some platform decides to use “generic” as the
> default, that’s fine with me. For ARM64, “generic" doesn’t seem very useful
> except to test certain features of the backend, and certainly should not be
> a default.

That "except" is rather important to me. I'd really rather not have to
remember to specify a valid "-mcpu" every time I execute llc, if I
understand you correctly. I'm annoyed enough by the regular intrusion
of "-mattr=neon" and friends.

I suppose if anything I'd want llc to choose a maximal sensible CPU
rather than a minimal one. Possibly with its own logic.

Cheers.

Tim.




More information about the llvm-commits mailing list