IR: Add fp operations to atomicrmw
Add just fadd/fsub for now. llvm-svn: 351778
This commit is contained in:
1 parent
1eaa04d682
commit
bfdba5e4fc
26 files changed
+392
-22
No files matched your search
@@ -1034,6 +1034,8 @@ static AtomicRMWInst::BinOp getDecodedRMWOperation(unsigned Val) {
|
||||
case bitc::RMW_MIN: return AtomicRMWInst::Min;
|
||||
case bitc::RMW_UMAX: return AtomicRMWInst::UMax;
|
||||
case bitc::RMW_UMIN: return AtomicRMWInst::UMin;
|
||||
case bitc::RMW_FADD: return AtomicRMWInst::FAdd;
|
||||
case bitc::RMW_FSUB: return AtomicRMWInst::FSub;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user