Change type of Sentinel to PHINode since it will be PHINode. (#4228)

This commit is contained in:
Xiang Li 2022-02-03 13:35:18 -08:00 коммит произвёл GitHub
Родитель e4cf4867f7
Коммит 662a62a8de
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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: