mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-08 05:26:50 +00:00
AMDGPU::expandMemIntrinsicUses(): Fix an uninitialized variable. This function returned true or undef.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294895 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7078fa3567
commit
c86a6d55f4
@ -51,7 +51,7 @@ static bool shouldExpandOperationWithSize(Value *Size) {
|
||||
|
||||
static bool expandMemIntrinsicUses(Function &F) {
|
||||
Intrinsic::ID ID = F.getIntrinsicID();
|
||||
bool Changed;
|
||||
bool Changed = false;
|
||||
|
||||
for (auto I = F.user_begin(), E = F.user_end(); I != E;) {
|
||||
Instruction *Inst = cast<Instruction>(*I);
|
||||
|
Loading…
x
Reference in New Issue
Block a user