[llvm] r217454 - Use armv6k default for FreeBSD/ARM

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Sep 11 14:49:16 PDT 2014


>> testcase?
>
> Does this look OK:

I would normally prefer a small integration test, but yes, this is OK.

> --- a/unittests/ADT/TripleTest.cpp
> +++ b/unittests/ADT/TripleTest.cpp
> @@ -567,6 +567,10 @@ TEST(TripleTest, NormalizeWindows) {
>
>  TEST(TripleTest, getARMCPUForArch) {
>    {
> +    llvm::Triple Triple("armv6-unknown-freebsd");
> +    EXPECT_STREQ("arm1176jzf-s", Triple.getARMCPUForArch());
> +  }
> +  {
>      llvm::Triple Triple("armv7s-apple-ios7");
>      EXPECT_STREQ("swift", Triple.getARMCPUForArch());
>    }



More information about the llvm-commits mailing list