OSDN Git Service

TargetParserTest.ARMExtensionFeatures run out of memory on 32-bit (PR42316)
authorSjoerd Meijer <sjoerd.meijer@arm.com>
Thu, 20 Jun 2019 09:33:11 +0000 (09:33 +0000)
committerSjoerd Meijer <sjoerd.meijer@arm.com>
Thu, 20 Jun 2019 09:33:11 +0000 (09:33 +0000)
commitf08b8912c33df0f17e4e9f9fb56273191471c96e
treea91fc5091b84b08bb1462da94f711236ae4d9144
parent106150662015562956a3a24d0ddfa9c6b7f60384
TargetParserTest.ARMExtensionFeatures run out of memory on 32-bit (PR42316)

Nothing of these tests made much sense. Loops were iterating too much, and I
also don't think it was actually testing anything. I think we simply want to
check that AEK_SOME_EXT returns "+some_ext".

I've given the AArch64 tests the same treatment as they very similarly didn't
made any sense either.

This fixes PR42316.

Differential Revision: https://reviews.llvm.org/D63569

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363913 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/Support/TargetParserTest.cpp