mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[AMDGPU][MC] Fix 2 for sanitizer failure in 364645
llvm-svn: 364656
This commit is contained in:
parent
9cb186cbd7
commit
6c92b88d5f
@ -810,9 +810,9 @@ void decodeMsg(unsigned Val,
|
||||
StreamId = (Val & STREAM_ID_MASK_) >> STREAM_ID_SHIFT_;
|
||||
}
|
||||
|
||||
int64_t encodeMsg(int64_t MsgId,
|
||||
int64_t OpId,
|
||||
int64_t StreamId) {
|
||||
uint64_t encodeMsg(uint64_t MsgId,
|
||||
uint64_t OpId,
|
||||
uint64_t StreamId) {
|
||||
return (MsgId << ID_SHIFT_) |
|
||||
(OpId << OP_SHIFT_) |
|
||||
(StreamId << STREAM_ID_SHIFT_);
|
||||
|
@ -483,9 +483,9 @@ void decodeMsg(unsigned Val,
|
||||
uint16_t &StreamId);
|
||||
|
||||
LLVM_READNONE
|
||||
int64_t encodeMsg(int64_t MsgId,
|
||||
int64_t OpId,
|
||||
int64_t StreamId);
|
||||
uint64_t encodeMsg(uint64_t MsgId,
|
||||
uint64_t OpId,
|
||||
uint64_t StreamId);
|
||||
|
||||
} // namespace SendMsg
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user