Don't generate floating point stubs for mips16 code if the function
authorReed Kotler <rkotler@mips.com>
Sun, 11 Aug 2013 21:30:27 +0000 (21:30 +0000)
committerReed Kotler <rkotler@mips.com>
Sun, 11 Aug 2013 21:30:27 +0000 (21:30 +0000)
commit5e4b95b3fe908f89aa512b6e9921fe49aadd759b
treed9a4d8b26b8fb0c9a87aa4dda22d1f53a39da815
parent55db69c97e936abf8290a4dc639239f92ab34fcb
Don't generate floating point stubs for mips16 code if the function
is actually an instrinsic that will not occur in libc. This list here
is not exhaustive but fixes the one places in test-suite where this occurs.
I have filed a bug against myself to research the full list and add them
to the array of such cases. In the future, actual stub generation will occur
in a later phase and we won't need this code because we will know at that time
during the compilation that in fact no helper function was even needed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188149 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/Mips16HardFloat.cpp
test/CodeGen/Mips/f16abs.ll [new file with mode: 0644]