You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
parent
8016999e4d
commit
64ac736ec5
11
external/llvm/test/Transforms/AtomicExpand/X86/expand-atomic-rmw-initial-load.ll
vendored
Normal file
11
external/llvm/test/Transforms/AtomicExpand/X86/expand-atomic-rmw-initial-load.ll
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
; RUN: opt -S %s -atomic-expand -mtriple=i686-linux-gnu | FileCheck %s
|
||||
|
||||
; This file tests the function `llvm::expandAtomicRMWToCmpXchg`.
|
||||
; It isn't technically target specific, but is exposed through a pass that is.
|
||||
|
||||
define i8 @test_initial_load(i8* %ptr, i8 %value) {
|
||||
%res = atomicrmw nand i8* %ptr, i8 %value seq_cst
|
||||
ret i8 %res
|
||||
}
|
||||
; CHECK-LABEL: @test_initial_load
|
||||
; CHECK-NEXT: %1 = load i8, i8* %ptr, align 1
|
Reference in New Issue
Block a user