projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7de4587
)
Undo initialization of TRI in CGP as this is unconditionally initialized
author
Eric Christopher
<echristo@gmail.com>
Tue, 2 Jun 2020 22:05:54 +0000
(15:05 -0700)
committer
Eric Christopher
<echristo@gmail.com>
Tue, 2 Jun 2020 22:08:54 +0000
(15:08 -0700)
later.
llvm/lib/CodeGen/CodeGenPrepare.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/CodeGenPrepare.cpp
b/llvm/lib/CodeGen/CodeGenPrepare.cpp
index
37c71e2
..
d28da4e
100644
(file)
--- a/
llvm/lib/CodeGen/CodeGenPrepare.cpp
+++ b/
llvm/lib/CodeGen/CodeGenPrepare.cpp
@@
-268,7
+268,7
@@
class TypePromotionTransaction;
const TargetMachine *TM = nullptr;
const TargetSubtargetInfo *SubtargetInfo;
const TargetLowering *TLI = nullptr;
- const TargetRegisterInfo *TRI
= nullptr
;
+ const TargetRegisterInfo *TRI;
const TargetTransformInfo *TTI = nullptr;
const TargetLibraryInfo *TLInfo;
const LoopInfo *LI;