Change type of Sentinel to PHINode since it will be PHINode. (#4228)
This commit is contained in:
Родитель
e4cf4867f7
Коммит
662a62a8de
|
@ -19,6 +19,7 @@ class Module;
|
|||
class DominatorTree;
|
||||
class Constant;
|
||||
class ConstantInt;
|
||||
class PHINode;
|
||||
|
||||
struct DxilValueCache : public ImmutablePass {
|
||||
static char ID;
|
||||
|
@ -46,7 +47,7 @@ struct DxilValueCache : public ImmutablePass {
|
|||
void dump() const;
|
||||
private:
|
||||
Value *GetSentinel(LLVMContext &Ctx);
|
||||
std::unique_ptr<Value> Sentinel;
|
||||
std::unique_ptr<PHINode> Sentinel;
|
||||
};
|
||||
|
||||
private:
|
||||
|
|
Загрузка…
Ссылка в новой задаче