Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Driver / aarch64-fixed-call-saved-x-register.c
blob4656b4064bc6bebcd5a65ae6f260139ad63ebacf
1 // Check that -ffixed and -fcall-saved flags work correctly together.
2 // RUN: %clang --target=aarch64-none-gnu \
3 // RUN: -ffixed-x18 \
4 // RUN: -fcall-saved-x18 \
5 // RUN: -### %s 2>&1 | FileCheck %s
7 // CHECK: "-target-feature" "+reserve-x18"
8 // CHECK: "-target-feature" "+call-saved-x18"