2018-05-03 00:42:51 +08:00
|
|
|
// REQUIRES: aarch64-registered-target
|
2018-05-09 04:58:32 +08:00
|
|
|
// RUN: %clang -target aarch64 -moutline -S %s -### 2>&1 | FileCheck %s -check-prefix=ON
|
|
|
|
// ON: "-mllvm" "-enable-machine-outliner"
|
2018-06-26 01:27:51 +08:00
|
|
|
// RUN: %clang -target aarch64 -moutline -mno-outline -S %s -### 2>&1 | FileCheck %s -check-prefix=OFF
|
2018-06-30 02:06:10 +08:00
|
|
|
// OFF: "-mllvm" "-enable-machine-outliner=never"
|
2018-06-27 06:09:48 +08:00
|
|
|
// RUN: %clang -target x86_64 -moutline -S %s -### 2>&1 | FileCheck %s -check-prefix=WARN
|
|
|
|
// WARN: warning: The 'x86_64' architecture does not support -moutline; flag ignored [-Woption-ignored]
|
|
|
|
// WARN-NOT: "-mllvm" "-enable-machine-outliner"
|