[PATCH] D25480: __builtin_fpclassify missing one int parameter

2016-10-11 Thread Tania Albarghouthi via cfe-commits
taniabarg created this revision. taniabarg added reviewers: davidsh, hubert.reinterpretcast. taniabarg added a subscriber: cfe-commits. BIF fpclassify has the wrong number of integer parameters specified in Builtins.def. There should be 5 int parameters (each representing the values FP_NAN, FP_I

[PATCH] D25480: __builtin_fpclassify missing one int parameter

2016-10-12 Thread Tania Albarghouthi via cfe-commits
taniabarg updated this revision to Diff 74377. taniabarg added a comment. Added test to test/Sema/builtin-unary-fp.c that will fail without the proposed change (without the change, the test will -not- attempt to implicitly cast the 5th parameter to int). https://reviews.llvm.org/D25480 Files: