Mutate TargetLowering::shouldExpandAtomicRMWInIR to specifically dictate how AtomicRM...
[oota-llvm.git] / test / tools / gold / remarks.ll
1 ; RUN: llvm-as %s -o %t.o
2
3 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
4 ; RUN:    -plugin-opt=-pass-remarks=inline %t.o -o %t2.o 2>&1 | FileCheck %s
5
6 ; CHECK: f inlined into _start
7 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
8 target triple = "x86_64-unknown-linux-gnu"
9
10 define i32 @f() {
11   ret i32 0
12 }
13
14 define i32 @_start() {
15   %call = call i32 @f()
16   ret i32 %call
17 }