We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 066dc1e commit 2cb97c7Copy full SHA for 2cb97c7
llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -4639,6 +4639,7 @@ static ConstantPoolSDNode *getTargetConstantPoolFromBasePtr(SDValue Ptr) {
4639
return dyn_cast<ConstantPoolSDNode>(Ptr);
4640
}
4641
4642
+// TODO: Add support for non-zero offsets.
4643
static const Constant *getTargetConstantFromBasePtr(SDValue Ptr) {
4644
ConstantPoolSDNode *CNode = getTargetConstantPoolFromBasePtr(Ptr);
4645
if (!CNode || CNode->isMachineConstantPoolEntry() || CNode->getOffset() != 0)
0 commit comments