[PATCH] D71550: [Intrinsic] Add fixed point saturating division intrinsics.
Leonard Chan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 22 15:16:42 PST 2020
leonardchan added a comment.
It seems that I run into `LLVM ERROR: Unsupported library call operation!` if I call `llvm.sdiv.fix.sat.i64` with a scale of 63:
define i64 @sdiv_sat_i64_s63(i64 %x, i64 %y) {
%tmp = call i64 @llvm.sdiv.fix.sat.i64(i64 %x, i64 %y, i32 63)
ret i64 %tmp;
}
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71550/new/
https://reviews.llvm.org/D71550
More information about the llvm-commits
mailing list