mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
[DAGCombine] visitINSERT_SUBVECTOR - use uint64_t subvector index. NFCI.
Keep the uint64_t type from getZExtValue() to stop truncation/extension overflow warnings in MSVC in subvector index math. llvm-svn: 365621
This commit is contained in:
parent
d25f434c37
commit
f595a46554
@ -19272,7 +19272,7 @@ SDValue DAGCombiner::visitINSERT_SUBVECTOR(SDNode *N) {
|
||||
if (!isa<ConstantSDNode>(N2))
|
||||
return SDValue();
|
||||
|
||||
unsigned InsIdx = cast<ConstantSDNode>(N2)->getZExtValue();
|
||||
uint64_t InsIdx = cast<ConstantSDNode>(N2)->getZExtValue();
|
||||
|
||||
// Push subvector bitcasts to the output, adjusting the index as we go.
|
||||
// insert_subvector(bitcast(v), bitcast(s), c1)
|
||||
|
Loading…
Reference in New Issue
Block a user