Disp will always be one of MCSymbolRefExpr or MCConstantExpr, and never NULL.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180059
91177308-0d34-0410-b5e6-
96231b3b80d8
unsigned Scale, SMLoc Start, SMLoc End,
unsigned Size, StringRef Identifier,
InlineAsmIdentifierInfo &Info){
- if (Disp && isa<MCSymbolRefExpr>(Disp)) {
+ if (isa<MCSymbolRefExpr>(Disp)) {
// If this is not a VarDecl then assume it is a FuncDecl or some other label
// reference. We need an 'r' constraint here, so we need to create register
// operand to ensure proper matching. Just pick a GPR based on the size of