13 lines · plain
1; RUN: llvm-dis < %s.bc | FileCheck %s2; RUN: verify-uselistorder < %s.bc3 4; atomicrmw-upgrade.ll.bc was produced by running a version of llvm-as from just5; before the IR change on this file.6 7; CHECK: @atomicrmw8; CHECK: %b = atomicrmw add ptr %a, i32 %i acquire9define void @atomicrmw(i32* %a, i32 %i) {10 %b = atomicrmw add i32* %a, i32 %i acquire11 ret void12}13