Skip to content

Commit

Permalink
WIP Handle atomic fp ops when truncating
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanradanov committed Feb 29, 2024
1 parent b97aa9d commit 99de981
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions enzyme/Enzyme/EnzymeLogic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5467,6 +5467,8 @@ class TruncateGenerator : public llvm::InstVisitor<TruncateGenerator> {
void visitFPToSIInst(FPToSIInst &I) { return; }
void visitUIToFPInst(UIToFPInst &I) { return; }
void visitSIToFPInst(SIToFPInst &I) { return; }
void visitAtomicCmpXchgInst(AtomicCmpXchgInst &I) { todo(I); }
void visitAtomicRMWInst(AtomicRMWInst &I) { todo(I); }
};

bool EnzymeLogic::CreateTruncateValue(RequestContext context, Value *v,
Expand Down

0 comments on commit 99de981

Please sign in to comment.