In the case where isLegalAddressingMode is used for cases
not related to addressing modes, such as pure adds and muls,
it should not be using address space 0. LSR already passes -1
as the address space in these cases.
Details
Details
- Reviewers
jingyue
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Maybe change the title to be "... instead of default for pure arithmetic instructions". Otherwise, LGTM!