[PATCH] D24235: [OpenCL] Improve double literal handling

Neil Hickey via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 15 02:44:31 PST 2016


neil.hickey removed rL LLVM as the repository for this revision.
neil.hickey updated this revision to Diff 77961.
neil.hickey added a comment.

Fixes to tests and removal of incorrect check to stop float to float casts if types match. This was still needed as it was an lvalue to rvalue cast. Added extra code in SemaChecking to allow a float to float cast to appear and be handled.


https://reviews.llvm.org/D24235

Files:
  lib/Sema/SemaChecking.cpp
  lib/Sema/SemaExpr.cpp
  lib/Sema/SemaType.cpp
  test/CodeGenOpenCL/fpmath.cl
  test/SemaOpenCL/extensions.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24235.77961.patch
Type: text/x-patch
Size: 6791 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161115/517c8970/attachment-0001.bin>


More information about the cfe-commits mailing list