- Pattern match for parameters was incorrect: was matching on entire
array, not loads and stores into the array.
- Realized when writing the pattern match that the GlobalNonAlloc
pattern will also match this case.
- Changed code so that this is used. Also added a test case that checks for a match against both a load a store.