[PATCH] D24235: [OpenCL] Improve double literal handling
Neil Hickey via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 19 09:05:09 PDT 2016
neil.hickey added a reviewer: tstellarAMD.
neil.hickey updated this revision to Diff 71837.
neil.hickey added a comment.
Herald added subscribers: yaxunl, wdng.
There was a bug whereby an implicitcast was being applied from float to float, this caused issues later on in builin processing which caused an assertion. This changed patch removes the duplicate, superfluous, cast.
https://reviews.llvm.org/D24235
Files:
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.71837.patch
Type: text/x-patch
Size: 6283 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160919/0d2e24de/attachment.bin>
More information about the cfe-commits
mailing list