projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ac8574
)
Cast to the correct type. Pointer, not reference.
author
Bill Wendling
<isanbard@gmail.com>
Thu, 6 Jun 2013 05:39:29 +0000
(
05:39
+0000)
committer
Bill Wendling
<isanbard@gmail.com>
Thu, 6 Jun 2013 05:39:29 +0000
(
05:39
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183385
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/R600/SIInstrInfo.td
patch
|
blob
|
history
diff --git
a/lib/Target/R600/SIInstrInfo.td
b/lib/Target/R600/SIInstrInfo.td
index cb159baef13484eb4ca88cb370d4b325bfafde9d..42fa95f6186bf51eb7e0449c0bd63a72b54caa12 100644
(file)
--- a/
lib/Target/R600/SIInstrInfo.td
+++ b/
lib/Target/R600/SIInstrInfo.td
@@
-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;
}]>;
//===----------------------------------------------------------------------===//