mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
Adjust tests to expect new math intrinsics to be
emitted only when errno is not in use. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55797 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
db10033d7c
commit
fe89669b77
@ -1,6 +1,8 @@
|
||||
// llvm-gcc -O1+ should run simplify libcalls, O0 shouldn't
|
||||
// and -fno-builtins shouldn't.
|
||||
// RUN: %llvmgcc %s -S -emit-llvm -O0 -o - | grep {call.*exp2\\.f64}
|
||||
// -fno-math-errno should emit an llvm intrinsic, -fmath-errno should not.
|
||||
// RUN: %llvmgcc %s -S -fno-math-errno -emit-llvm -O0 -o - | grep {call.*exp2\\.f64}
|
||||
// RUN: %llvmgcc %s -S -fmath-errno -emit-llvm -O0 -o - | grep {call.*exp2}
|
||||
// RUN: %llvmgcc %s -S -emit-llvm -O1 -o - | grep {call.*ldexp}
|
||||
// RUN: %llvmgcc %s -S -emit-llvm -O3 -fno-builtin -o - | grep {call.*exp2}
|
||||
|
||||
|
@ -1,6 +1,8 @@
|
||||
// llvm-gcc -O1+ should run simplify libcalls, O0 shouldn't
|
||||
// and -fno-builtins shouldn't.
|
||||
// RUN: %llvmgcc %s -S -emit-llvm -O0 -o - | grep {call.*exp2\\..*f}
|
||||
// -fno-math-errno should emit an llvm intrinsic, -fmath-errno should not.
|
||||
// RUN: %llvmgcc %s -S -fno-math-errno -emit-llvm -O0 -o - | grep {call.*exp2\\..*f}
|
||||
// RUN: %llvmgcc %s -S -fmath-errno -emit-llvm -O0 -o - | grep {call.*exp2l}
|
||||
// RUN: %llvmgcc %s -S -emit-llvm -O1 -o - | grep {call.*ldexp}
|
||||
// RUN: %llvmgcc %s -S -emit-llvm -O3 -fno-builtin -o - | grep {call.*exp2l}
|
||||
|
||||
|
@ -1,6 +1,8 @@
|
||||
// llvm-gcc -O1+ should run simplify libcalls, O0 shouldn't
|
||||
// and -fno-builtins shouldn't.
|
||||
// RUN: %llvmgcc %s -S -emit-llvm -O0 -o - | grep {call.*exp2\\.f32}
|
||||
// -fno-math-errno should emit an llvm intrinsic, -fmath-errno should not.
|
||||
// RUN: %llvmgcc %s -S -emit-llvm -fno-math-errno -O0 -o - | grep {call.*exp2\\.f32}
|
||||
// RUN: %llvmgcc %s -S -emit-llvm -fmath-errno -O0 -o - | grep {call.*exp2f}
|
||||
// RUN: %llvmgcc %s -S -emit-llvm -O1 -o - | grep {call.*ldexp}
|
||||
// RUN: %llvmgcc %s -S -emit-llvm -O3 -fno-builtin -o - | grep {call.*exp2f}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user