HomePhabricator

[SelectionDAGBuilder] Use ::precise LocationSizes; NFC

Description

[SelectionDAGBuilder] Use ::precise LocationSizes; NFC

More migration so we can disable the implicit int -> LocationSize
conversion.

All of these are either scatter/gather'ed vector instructions, or direct
loads. Hence, they're all precise.

Perhaps if we see way more getTypeStoreSize calls, we can make a
getTypeStoreLocationSize (or similar) as a wrapper that applies this
::precise. Doesn't appear that it's a good idea to make getTypeStoreSize
return a LocationSize itself, however.

Details

Committed
gbivDec 23 2018, 9:34 PM
Parents
rL350041: [X86] Move the optimization that turns 'CMP (AND+IMM64), 0' into SRL/SHL+TEST…
Branches
Unknown
Tags
Unknown