]> granicus.if.org Git - llvm/commit
[AArch64][GlobalISel] Legalize narrow scalar fp->int conversions.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Mon, 23 Jan 2017 21:10:14 +0000 (21:10 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Mon, 23 Jan 2017 21:10:14 +0000 (21:10 +0000)
commit11b1a4ae366d4e7420932284ea806acc3713bc99
treedc6f28f3570b692b0e5475c7c00428aaea278987
parent868b1fe1945ab983858f559bd87e5606e9b5d45e
[AArch64][GlobalISel] Legalize narrow scalar fp->int conversions.

Since we're now avoiding operations using narrow scalar integer types,
we have to legalize the integer side of the FP conversions.

This requires teaching the legalizer how to do that.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292828 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
lib/Target/AArch64/AArch64LegalizerInfo.cpp
test/CodeGen/AArch64/GlobalISel/legalize-fptoi.mir