mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-15 12:39:19 +00:00
18b5701a68
Allow users to disable or enable CRC subtarget feature. Differential Revision: http://llvm-reviews.chandlerc.com/D2037 llvm-svn: 193600
9 lines
298 B
C
9 lines
298 B
C
// RUN: %clang -target armv8 -mcrc -### %s 2> %t
|
|
// RUN: FileCheck --check-prefix=CHECK-V8-CRC < %t %s
|
|
// CHECK-V8-CRC: "-target-feature" "+crc"
|
|
|
|
// RUN: %clang -target armv8 -mnocrc -### %s 2> %t
|
|
// RUN: FileCheck --check-prefix=CHECK-V8-NOCRC < %t %s
|
|
// CHECK-V8-NOCRC: "-target-feature" "-crc"
|
|
|