Skip to content

Commit

Permalink
llvm11: Handle llvm.roundeven instrinsic
Browse files Browse the repository at this point in the history
  • Loading branch information
lzaoral authored and MartinNowack committed Sep 10, 2021
1 parent 96aa751 commit 3d7c05a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Module/IntrinsicCleaner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,9 @@ bool IntrinsicCleanerPass::runOnBasicBlock(BasicBlock &b, Module &M) {
case Intrinsic::readcyclecounter:
case Intrinsic::returnaddress:
case Intrinsic::round:
#if LLVM_VERSION_CODE >= LLVM_VERSION(11, 0)
case Intrinsic::roundeven:
#endif
case Intrinsic::sin:
case Intrinsic::sqrt:
case Intrinsic::stackrestore:
Expand Down

0 comments on commit 3d7c05a

Please sign in to comment.