Fix 2: [MCParser] Correctly handle CRLF line ends when consuming line comments
authorTozer <stephen.tozer@sony.com>
Tue, 17 Aug 2021 16:09:44 +0000 (17:09 +0100)
committerTozer <stephen.tozer@sony.com>
Tue, 17 Aug 2021 16:13:21 +0000 (17:13 +0100)
Fixes an issue with revision 5c6f748c and ad40cb88.

Adds an mcpu argument to the test command, preventing an invalid default
CPU from being used on some platforms.

llvm/test/tools/llvm-mca/X86/directives-handle-crlf.s

index e62cdd2..db797a7 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mca -mtriple=x86_64-unknown-unknown %s
+# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=generic %s
 # LLVM-MCA-BEGIN foo
 addl   $42, %eax
 # LLVM-MCA-END