aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2019-12-16 11:15:48 -0800
committerErich Keane <erich.keane@intel.com>2019-12-16 12:22:55 -0800
commitb1e542f302c1ed796ad9f703d4d36e010afcb914 (patch)
treedbe59cbea22d6df13502831c2277686a51541ae9 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentff07fc66d9eef577f3b44716f72e581a18cd9ac9 (diff)
downloadllvm-b1e542f302c1ed796ad9f703d4d36e010afcb914.zip
llvm-b1e542f302c1ed796ad9f703d4d36e010afcb914.tar.gz
llvm-b1e542f302c1ed796ad9f703d4d36e010afcb914.tar.bz2
[NFC-I] Remove hack for fp-classification builtins
The FP-classification builtins (__builtin_isfinite, etc) use variadic packs in the definition file to mean an overload set. Because of that, floats were converted to doubles, which is incorrect. There WAS a patch to remove the cast after the fact. THis patch switches these builtins to just be custom type checking, calls the implicit conversions for the integer members, and makes sure the correct L->R casts are put into place, then does type checking like normal. A future direction (that wouldn't be NFC) would consider making conversions for the floating point parameter legal.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions