forked from OSchip/llvm-project
Cast to the correct type. Pointer, not reference.
llvm-svn: 183385
This commit is contained in:
parent
ea8d370d2a
commit
b91216817f
|
@ -44,7 +44,7 @@ def IMM12bit : PatLeaf <(imm),
|
|||
>;
|
||||
|
||||
class InlineImm <ValueType vt> : PatLeaf <(vt imm), [{
|
||||
return ((const SITargetLowering &)TLI).analyzeImmediate(N) == 0;
|
||||
return (*(const SITargetLowering *)TLI).analyzeImmediate(N) == 0;
|
||||
}]>;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
|
Loading…
Reference in New Issue