[ARM GlobalISel] Thumb2: casts between int and ptr
authorDiana Picus <diana.picus@linaro.org>
Fri, 14 Dec 2018 13:45:38 +0000 (13:45 +0000)
committerDiana Picus <diana.picus@linaro.org>
Fri, 14 Dec 2018 13:45:38 +0000 (13:45 +0000)
commit02c8343c754a21f6a8b34399df1d4f5a81084927
treeeb03bfda8271e413f6eebf5c451953ed9037ce9e
parentacca60b49efef4c8a1c166d9e6fff573b00437b0
[ARM GlobalISel] Thumb2: casts between int and ptr

Mark as legal and add tests. Nothing special to do.

llvm-svn: 349147
llvm/lib/Target/ARM/ARMLegalizerInfo.cpp
llvm/test/CodeGen/ARM/GlobalISel/arm-legalize-casts.mir [new file with mode: 0644]
llvm/test/CodeGen/ARM/GlobalISel/arm-legalizer.mir
llvm/test/CodeGen/ARM/GlobalISel/thumb-select-casts.mir [new file with mode: 0644]