mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2026-01-31 01:35:20 +01:00
IR: Add fp operations to atomicrmw
Add just fadd/fsub for now. llvm-svn: 351778
This commit is contained in:
@@ -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