mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[ARM] Fix Changed status in MVEGatherScatterLoweringPass.
Now that we are calling SimplifyInstructionsInBlock, make sure we update Changed when it reports alterations.
This commit is contained in:
parent
f2dafac922
commit
b06694ed39
@ -1167,7 +1167,7 @@ bool MVEGatherScatterLowering::runOnFunction(Function &F) {
|
||||
bool Changed = false;
|
||||
|
||||
for (BasicBlock &BB : F) {
|
||||
SimplifyInstructionsInBlock(&BB);
|
||||
Changed |= SimplifyInstructionsInBlock(&BB);
|
||||
|
||||
for (Instruction &I : BB) {
|
||||
IntrinsicInst *II = dyn_cast<IntrinsicInst>(&I);
|
||||
|
Loading…
Reference in New Issue
Block a user