Lang Hames
a930e7131c
When used in a compound expression FP_CONTRACT should proceed all explicit
...
declarations and statements. Emit an error if the FP_CONTRACT is used
later in a compound statement.
llvm-svn: 166383
2012-10-21 01:10:01 +00:00
Lang Hames
05a3e31a21
Test file-scoped FP_CONTRACT pragma.
...
llvm-svn: 165196
2012-10-04 03:07:37 +00:00
Eli Friedman
68be1649ee
Permanently end the whole "pragma got handled by the parser too early"
...
mess by handling all pragmas which the parser touches uniformly.
<rdar://problem/12248901>, etc.
llvm-svn: 165195
2012-10-04 02:36:51 +00:00
NAKAMURA Takumi
18fc445af5
FP_CONTRACT: Fix two tests for -Asserts.
...
llvm-svn: 165024
2012-10-02 16:36:54 +00:00
Lang Hames
5de91cc35f
Add FP_CONTRACT support for clang.
...
Clang will now honor the FP_CONTRACT pragma and emit LLVM
fmuladd intrinsics for expressions of the form A * B + C (when they occur in a
single statement).
llvm-svn: 164989
2012-10-02 04:45:10 +00:00