- Feb 11, 2011
-
-
Rafael Espindola authored
llvm-svn: 125363
-
Ted Kremenek authored
llvm-svn: 125362
-
Daniel Dunbar authored
llvm-svn: 125361
-
Rafael Espindola authored
llvm-svn: 125360
-
Evan Cheng authored
This define float @foo(float %x, float %y) nounwind readnone { entry: %0 = tail call float @copysignf(float %x, float %y) nounwind readnone ret float %0 } Was compiled to: vmov s0, r1 bic r0, r0, #-2147483648 vmov s1, r0 vcmpe.f32 s0, #0 vmrs apsr_nzcv, fpscr it lt vneglt.f32 s1, s1 vmov r0, s1 bx lr This fails to copy the sign of -0.0f because it's lost during the float to int conversion. Also, it's sub-optimal when the inputs are in GPR registers. Now it uses integer and + or operations when it's profitable. And it's correct! lsrs r1, r1, #31 bfi r0, r1, #31, #1 bx lr rdar://8984306 llvm-svn: 125357
-
Ken Dyck authored
unnecessary calls to RoundUpToAlignment. No changes to functionality intended. llvm-svn: 125356
-
Johnny Chen authored
llvm-svn: 125333
-
Ken Dyck authored
CharUnits to sizes in bits, and use it to tidy up the places where the conversion was done explicitly. llvm-svn: 125332
-
Rafael Espindola authored
llvm-svn: 125330
-
Johnny Chen authored
llvm-svn: 125329
-
Daniel Dunbar authored
bits for the runtime libraries. llvm-svn: 125328
-
Jim Grosbach authored
llvm-svn: 125327
-
Douglas Gregor authored
causing the deserialization of a large number of declarations when writing the visible-updates record for the translation unit in C. This takes us from: *** AST File Statistics: 2 stat cache hits 6 stat cache misses 1/64463 source location entries read (0.001551%) 15606/16956 types read (92.038216%) 59266/89334 declarations read (66.342041%) 38952/61393 identifiers read (63.446976%) 0/7778 selectors read (0.000000%) 24192/34644 statements read (69.830276%) 388/8809 macros read (4.404586%) 2095/5189 lexical declcontexts read (40.373867%) 0/4587 visible declcontexts read (0.000000%) 0/7716 method pool entries read (0.000000%) 0 method pool misses to *** AST File Statistics: 2 stat cache hits 6 stat cache misses 1/64463 source location entries read (0.001551%) 26/16956 types read (0.153338%) 18/89334 declarations read (0.020149%) 145/61393 identifiers read (0.236183%) 0/7778 selectors read (0.000000%) 21/34644 statements read (0.060617%) 0/8809 macros read (0.000000%) 0/5189 lexical declcontexts read (0.000000%) 0/4587 visible declcontexts read (0.000000%) 0/7716 method pool entries read (0.000000%) 0 method pool misses when generating a chained PCH for a header that #includes Cocoa.h (from a PCH file) and adds one simple function declaration. The generated PCH file is now only 9580 bytes (down from > 2MB). llvm-svn: 125326
-
Cameron Zwarich authored
llvm-svn: 125325
-
Douglas Gregor authored
we would deserialize all of the macro definitions we knew about while serializing the macro definitions at the end of the AST/PCH file. Even though we skipped most of them (since they were unchanged), it's still a performance problem. Now, we do the standard AST/PCH chaining trick: watch what identifiers are deserialized as macro names, and consider only those identifiers (along with macro definitions that have been deserialized/written in the source) when serializing the preprocessor state. llvm-svn: 125324
-
Johnny Chen authored
llvm-svn: 125323
-
Johnny Chen authored
llvm-svn: 125322
-
Rafael Espindola authored
llvm-svn: 125321
-
Johnny Chen authored
and constant strings. llvm-svn: 125320
-
Nick Lewycky authored
passes. Fixes PR9112. Patch by Jakub Staszak! llvm-svn: 125319
-
Cameron Zwarich authored
iv-users twice. llvm-svn: 125318
-
Cameron Zwarich authored
llvm-svn: 125317
-
Bruno Cardoso Lopes authored
llvm-svn: 125316
-
David Greene authored
[AVX] Implement 256-bit vector lowering for SCALAR_TO_VECTOR. This largely completes support for 128-bit fallback lowering for code that is not 256-bit ready. llvm-svn: 125315
-
- Feb 10, 2011
-
-
Sean Callanan authored
- Objective-C constant strings were being NULL-terminated erroneously. - Empty Objective-C constant strings were not being generated correctly. Also added the template for a test of these fixes. llvm-svn: 125314
-
Johnny Chen authored
llvm-svn: 125313
-
Johnny Chen authored
SetBits32(uint32_t &bits, uint32_t bit, uint32_t val) to SetBit32(bits, bit, val). llvm-svn: 125312
-
Howard Hinnant authored
llvm-svn: 125311
-
Matt Beaumont-Gay authored
llvm-svn: 125309
-
Bruno Cardoso Lopes authored
llvm-svn: 125305
-
Owen Anderson authored
llvm-svn: 125304
-
Johnny Chen authored
Some refactorings to use the convenience function: Bits32(const uint32_t value, const uint32_t bit). llvm-svn: 125303
-
Johnny Chen authored
llvm-svn: 125302
-
Johnny Chen authored
table. Also add some more defines and convenience functions. llvm-svn: 125300
-
Daniel Dunbar authored
llvm-svn: 125299
-
Daniel Dunbar authored
llvm-svn: 125298
-
Douglas Gregor authored
macro definitions by macro name first. That way, we'll get a stable ordering in the AST/PCH file. llvm-svn: 125297
-
Argyrios Kyrtzidis authored
For -Woverloaded-virtual take into account canonical methods. Fixes rdar://8979966 & http://llvm.org/PR9182. llvm-svn: 125296
-
Johnny Chen authored
llvm-svn: 125295
-
Daniel Dunbar authored
llvm-svn: 125293
-