Skip to content

Commit 09cae4b

Browse files
committed
[NumericalStabilitySanitizer] Handle roundeven libcalls
Here, it's a simple matter of wiring them up.
1 parent d0d4689 commit 09cae4b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1514,6 +1514,9 @@ const KnownIntrinsic::LFEntry KnownIntrinsic::kLibfuncIntrinsics[] = {
15141514
{LibFunc_roundf, "llvm.round.f32"},
15151515
{LibFunc_round, "llvm.round.f64"},
15161516
{LibFunc_roundl, "llvm.round.f80"},
1517+
{LibFunc_roundevenf, "llvm.roundeven.f32"},
1518+
{LibFunc_roundeven, "llvm.roundeven.f64"},
1519+
{LibFunc_roundevenl, "llvm.roundeven.f80"},
15171520
};
15181521

15191522
const char *KnownIntrinsic::get(LibFunc LFunc) {

0 commit comments

Comments
 (0)