OSDN Git Service

[ARM] Fix crash when targetting CPU without NEON
authorJames Molloy <james.molloy@arm.com>
Mon, 17 Aug 2015 19:37:12 +0000 (19:37 +0000)
committerJames Molloy <james.molloy@arm.com>
Mon, 17 Aug 2015 19:37:12 +0000 (19:37 +0000)
commit9daba6f571437eb90a0fdf477f33cf0cfef9c58b
treeadca0b11c460906a756e2f16f513ad3c247d3e1a
parentdcf748827b3d1b243cf36a62efc763ebd9d5ca44
[ARM] Fix crash when targetting CPU without NEON

We emulate a scalar vmin/vmax with NEON instructions as they don't exist in the VFP ISA. So only mark these as legal when NEON is available.

Found here: https://code.google.com/p/chromium/issues/detail?id=521671

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245231 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
test/CodeGen/ARM/neon_minmax.ll