mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-02 17:29:03 +00:00
[AMDGPU] Fix for DAGCombiner infinite loop in OCLtst
Differential revision: https://reviews.llvm.org/D44417 llvm-svn: 327488
This commit is contained in:
parent
12450e221a
commit
386d50adad
@ -1194,7 +1194,8 @@ public:
|
||||
/// encoding of the volatile flag, as well as bits used by subclasses. This
|
||||
/// function should only be used to compute a FoldingSetNodeID value.
|
||||
/// The HasDebugValue bit is masked out because CSE map needs to match
|
||||
/// nodes with debug info with nodes without debug info.
|
||||
/// nodes with debug info with nodes without debug info. Same is about
|
||||
/// isDivergent bit.
|
||||
unsigned getRawSubclassData() const {
|
||||
uint16_t Data;
|
||||
union {
|
||||
@ -1203,6 +1204,7 @@ public:
|
||||
};
|
||||
memcpy(&RawSDNodeBits, &this->RawSDNodeBits, sizeof(this->RawSDNodeBits));
|
||||
SDNodeBits.HasDebugValue = 0;
|
||||
SDNodeBits.IsDivergent = false;
|
||||
memcpy(&Data, &RawSDNodeBits, sizeof(RawSDNodeBits));
|
||||
return Data;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user