Skip to content
Snippets Groups Projects
Commit 9fc2be6f authored by Daniel Sanders's avatar Daniel Sanders
Browse files

[mir] Fix confusing MIR when MMO's value is nullptr but offset is non-zero

:: (store 1 + 4, addrspace 1)
->
:: (store 1 into undef + 4, addrspace 1)

An offset without a base isn't terribly useful but it's convenient to update
the offset without checking the value. For example, when breaking apart
stores into smaller units

Differential Revision: https://reviews.llvm.org/D97812
parent 36192790
No related branches found
No related tags found
No related merge requests found
Showing
with 6296 additions and 6288 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment