mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-24 21:42:54 +02:00
e94fb01a45
Summary: When clang is given -save-temps or -via-file-asm, any inline assembly in the source is parsed twice. Once by the compiler, and again by the assembler. We must take care to ensure that this doesn't lead to double-filling delay slots. Reviewers: sdardis, vkalintiris Subscribers: dsanders, sdardis, llvm-commits Differential Revision: http://reviews.llvm.org/D19166 llvm-svn: 266608
11 lines
262 B
ArmAsm
11 lines
262 B
ArmAsm
# RUN: llvm-mc -triple=mipsel-unknown-linux < %s | FileCheck %s
|
|
# RUN: llvm-mc -triple=mipsel-unknown-linux < %s | \
|
|
# RUN: llvm-mc -triple=mipsel-unknown-linux | FileCheck %s
|
|
|
|
# CHECK: bnez $2, foo
|
|
# CHECK: nop
|
|
# CHECK-NOT: nop
|
|
|
|
.text
|
|
bnez $2, foo
|