From 4a9292f31cafaf2777302d3c911e411ba551bb06 Mon Sep 17 00:00:00 2001 From: Evandro Menezes Date: Thu, 22 Nov 2018 00:38:36 +0000 Subject: [PATCH] [llvm-mca] Add test case (NFC) Add test case that will serve as the base for D54820. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@347440 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/tools/llvm-mca/AArch64/CortexA57/shifted-register.s | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/tools/llvm-mca/AArch64/CortexA57/shifted-register.s diff --git a/test/tools/llvm-mca/AArch64/CortexA57/shifted-register.s b/test/tools/llvm-mca/AArch64/CortexA57/shifted-register.s new file mode 100644 index 00000000000..4c0f580036e --- /dev/null +++ b/test/tools/llvm-mca/AArch64/CortexA57/shifted-register.s @@ -0,0 +1,7 @@ +# RUN: not llvm-mca -march=aarch64 -mcpu=cortex-a57 -resource-pressure=false < %s 2> %t +# RUN: FileCheck --input-file %t %s + + add x0, x1, x2, lsl #3 + +# CHECK: error +# CHECK-SAME: unable to resolve scheduling class for write variant. -- 2.11.0