brintos

brintos / llvm-project-archived public Read only

0
0
Text · 364 B · 372aade Raw
18 lines · plain
1; RUN: opt -passes=inline,argpromotion < %s -S | FileCheck %s2 3; Make sure we update the list of libcalls when we replace a libcall.4 5; CHECK: define {{.*}}@a6 7define void @a() {8entry:9  %call = call float @strtof(ptr noundef null, ptr noundef null)10  ret void11}12 13define internal float @strtof(ptr noundef %0, ptr noundef %1) nounwind {14entry:15  ret float 0.016}17 18