[PATCH] D24011: [ConstantFold] Add a flag for ppc_fp128 constant folding, since APFloat doesn't support double-double semantic

Tim Shen via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 29 16:11:58 PDT 2016


timshen created this revision.
timshen added reviewers: hfinkel, kbarton, echristo, iteratee.
timshen added a subscriber: llvm-commits.
Herald added subscribers: nemanjai, mehdi_amini.

There is a FIXME in APFloat that is saying ppc_fp128 is supported through IEEE 128 bits semantic, not IBM double-double semantic. Add a flag to turn of the constand folding to leave the computation to runtime.

https://reviews.llvm.org/D24011

Files:
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/lib/IR/ConstantFold.cpp
  llvm/test/CodeGen/PowerPC/ppc128-constant-folding.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24011.69633.patch
Type: text/x-patch
Size: 7073 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160829/adc29647/attachment.bin>


More information about the llvm-commits mailing list