[PATCH] [ARM] Keep track of previous changes to the bit pattern stored HW_FP
renato.golin at linaro.org
Mon Jun 22 05:18:17 PDT 2015
In http://reviews.llvm.org/D10395#188008, @rs wrote:
> Do you mean matching against the -cc1 command line?
> There's no way for a test case to determine in which order the features come out of the StringMap and are processed.
That's perfectly fine.
> So I don't see how to write a test case that ensures the old code fails.
// RUN: echo "clang -cc1 -target-feature +foo -target-feature -bar -target-feature +baz" | FileCheck %s
// RUN: echo "clang -cc1 -target-feature +baz -target-feature -bar -target-feature +foo" | FileCheck %s
// RUN: echo "clang -cc1 -target-feature +foo -target-feature +baz -target-feature -bar" | FileCheck %s
// CHECK-DAG: -target-feature +foo
// CHECK-DAG: -target-feature -bar
// CHECK-DAG: -target-feature +baz
More information about the llvm-commits