Displaying 1 result from an estimated 1 matches for "dce46e8f".
2020 Sep 14
3
Mem2reg: load before single store
Hi all!
While playing with LLVM, I've found a weird behavior in mem2reg pass.
When optimizing single stores, undefined value is placed before any load
preceding the store (based on basicblock's ordering and simple dominator
analysis, if I remember correctly).
This is the line that is responsible for the behavior: (LLVM9 does the same)