OSDN Git Service

[ARM GlobalISel] Legalize s32/s64 G_FCONSTANT
authorDiana Picus <diana.picus@linaro.org>
Wed, 10 Jan 2018 10:01:49 +0000 (10:01 +0000)
committerDiana Picus <diana.picus@linaro.org>
Wed, 10 Jan 2018 10:01:49 +0000 (10:01 +0000)
commit9d528ea00b130eece7b95cd9454edd4393ba4518
treeb32d08d9fb6bd85ce3a71505d55dbeea537a3651
parent8d4f82b5e41d4b2e2100de21a01991c49ea6efc9
[ARM GlobalISel] Legalize s32/s64 G_FCONSTANT

Legal for hard float.
Change to G_CONSTANT for soft float (but preserve the binary
representation).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@322164 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMLegalizerInfo.cpp
test/CodeGen/ARM/GlobalISel/arm-legalize-fp.mir