Skip to content
  1. Oct 26, 2008
  2. Oct 25, 2008
  3. Oct 24, 2008
  4. Oct 23, 2008
  5. Oct 22, 2008
  6. Oct 21, 2008
  7. Oct 20, 2008
  8. Oct 18, 2008
  9. Oct 17, 2008
  10. Oct 16, 2008
    • Argyrios Kyrtzidis's avatar
      89656d22
    • Daniel Dunbar's avatar
      Teach tryEvaluate that fabs, copysign, and unary +/- are constants for · c3d79cf6
      Daniel Dunbar authored
      floats.
       - With testcase, which also has some other things GCC folds but we
         don't commented out in it.
      
      llvm-svn: 57624
      c3d79cf6
    • Daniel Dunbar's avatar
      Implement #pragma pack use in structure packing. The general approach · 4290d46b
      Daniel Dunbar authored
      is to encode the state of the #pragma pack stack as an attribute when
      the structure is declared. 
      
       - Extend PackedAttr to take an alignment (in bits), and reuse for
         both __attribute__((packed)) (which takes no argument, instead
         packing tightly (to "minimize the memory required") and for #pragma
         pack (which allows specification of the maximum alignment in
         bytes). __attribute__((packed)) is just encoded as Alignment=1.
      
         This conflates two related but different mechanisms, but it didn't
         seem worth another attribute.
      
       - I have attempted to follow the MSVC semantics as opposed to the gcc
         ones, since if I understand correctly #pragma pack originated with
         MSVC. The semantics are generally equivalent except when the stack
         is altered during the definition of a structure; its not clear if
         anyone does this in practice. See testcase if curious.
      
      llvm-svn: 57623
      4290d46b
  11. Oct 15, 2008
  12. Oct 14, 2008
  13. Oct 12, 2008
  14. Oct 10, 2008
  15. Oct 08, 2008
Loading