1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

[llvm-mca] Add test case (NFC)

Add test case that will serve as the base for D54820.

llvm-svn: 347440
This commit is contained in:
Evandro Menezes 2018-11-22 00:38:36 +00:00
parent 1b0a399719
commit a8f6ed71b3

View File

@ -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.