[ARM] Ensure types provided to getIntrinsicCost are valid

It appears that pointer types were causing issues for the min/max cost
code in getIntrinsicInstrCost. This makes sure that when matching
icmp/select to a min/max, we only do that for normal int or float types.

GitOrigin-RevId: 33ba220611730db9a5cd27ae60a4f0ee278da745
2 files changed