brintos

brintos / llvm-project-archived public Read only

0
0
Text · 465 B · 8068abd Raw
16 lines · plain
1; RUN: llc -mtriple=arm-linux-gnueabi %s -o - | FileCheck %s2 3; Log2 and exp2 are string-matched to intrinsics. If they are not declared4; readnone, they can't be changed to intrinsics (because they can change errno).5 6declare double @log2(double)7declare double @exp2(double)8 9define void @f() {10       ; CHECK: bl log211       %1 = call double @log2(double 0.000000e+00)12       ; CHECK: bl exp213       %2 = call double @exp2(double 0.000000e+00)14       ret void15}16