brintos

brintos / llvm-project-archived public Read only

0
0
Text · 472 B · 5620835 Raw
16 lines · plain
1; RUN: llc -mtriple=i386-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: calll log211       %1 = call double @log2(double 0.000000e+00)12       ; CHECK: calll exp213       %2 = call double @exp2(double 0.000000e+00)14       ret void15}16