mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-01 21:04:04 -04:00
52f6127659
This reapplies commits r351778 and r351782 with RISCV test fixes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351850 91177308-0d34-0410-b5e6-96231b3b80d8
8 lines
211 B
LLVM
8 lines
211 B
LLVM
; RUN: not llvm-as -disable-output %s 2>&1 | FileCheck %s
|
|
|
|
; CHECK: error: atomicrmw fsub operand must be a floating point type
|
|
define void @f(i32* %ptr) {
|
|
atomicrmw fsub i32* %ptr, i32 2 seq_cst
|
|
ret void
|
|
}
|