HomePhabricator

[InferAddressSpaces] Fix crash on select of non-ptr operands

Authored by joey on Feb 21 2019, 4:31 AM.

Description

[InferAddressSpaces] Fix crash on select of non-ptr operands

Check the operands of a select are pointers, to determine if it is an address
expression or not.

https://reviews.llvm.org/D58226

llvm-svn: 354576

Details

Committed
joeyFeb 21 2019, 4:31 AM
Parents
rGe6b338cbef18: [X86][SSE] combineX86ShufflesRecursively - moved to generic op input index…
Branches
Unknown
Tags
Unknown