[BuildLibCalls] Properly set ABI attributes on arguments
authorArthur Eubanks <aeubanks@google.com>
Mon, 31 May 2021 16:15:25 +0000 (09:15 -0700)
committerArthur Eubanks <aeubanks@google.com>
Thu, 3 Jun 2021 22:45:07 +0000 (15:45 -0700)
commitedf2056ff3730316f376f29d9986c9913b95ceb1
treeac7170677f0c64cf430d8615363444acd59cabeb
parent69a82d7c08be4c7d7ab6f3de7711944a00d3e4cc
[BuildLibCalls] Properly set ABI attributes on arguments

Some floating point lib calls have ABI attributes that need to be set on
the caller. Found via D103412.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D103415
llvm/lib/Transforms/Utils/BuildLibCalls.cpp
llvm/test/Transforms/InstCombine/exp2-1.ll
llvm/test/Transforms/InstCombine/pow_fp_int.ll
llvm/test/Transforms/InstCombine/pow_fp_int16.ll
llvm/test/Transforms/InstCombine/simplify-libcalls.ll