mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
R600: Remove outdated comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219777 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0081070cfd
commit
8a55ca3c41
@ -2148,9 +2148,6 @@ SDValue AMDGPUTargetLowering::PerformDAGCombine(SDNode *N,
|
|||||||
|
|
||||||
if (ConstantSDNode *CVal = dyn_cast<ConstantSDNode>(N->getOperand(0))) {
|
if (ConstantSDNode *CVal = dyn_cast<ConstantSDNode>(N->getOperand(0))) {
|
||||||
if (Signed) {
|
if (Signed) {
|
||||||
// Avoid undefined left shift of a negative in the constant fold.
|
|
||||||
// TODO: I'm not sure what the behavior of the hardware is, this should
|
|
||||||
// probably follow that instead.
|
|
||||||
return constantFoldBFE<int32_t>(DAG,
|
return constantFoldBFE<int32_t>(DAG,
|
||||||
CVal->getSExtValue(),
|
CVal->getSExtValue(),
|
||||||
OffsetVal,
|
OffsetVal,
|
||||||
|
Loading…
Reference in New Issue
Block a user