Skip to content
  1. May 04, 2013
    • Tim Northover's avatar
      Allow host triple to be correctly overridden in CMake builds · fee13d1e
      Tim Northover authored
      The intended semantics mirror autoconf, where the user is able to
      specify a host triple, but if it's left to the build system then
      "config.guess" is invoked for the default.
      
      This also renames the LLVM_HOSTTRIPLE define to LLVM_HOST_TRIPLE to
      fit in with the style of the surrounding defines.
      
      llvm-svn: 181112
      fee13d1e
  2. May 03, 2013
  3. Apr 23, 2013
  4. Apr 22, 2013
  5. Apr 03, 2013
  6. Feb 26, 2013
  7. Jan 16, 2013
    • Peter Collingbourne's avatar
      Introduce llvm::sys::getProcessTriple() function. · a51c6ed6
      Peter Collingbourne authored
      In r143502, we renamed getHostTriple() to getDefaultTargetTriple()
      as part of work to allow the user to supply a different default
      target triple at configure time.  This change also affected the JIT.
      However, it is inappropriate to use the default target triple in the
      JIT in most circumstances because this will not necessarily match
      the current architecture used by the process, leading to illegal
      instruction and other such errors at run time.
      
      Introduce the getProcessTriple() function for use in the JIT and
      its clients, and cause the JIT to use it.  On architectures with a
      single bitness, the host and process triples are identical.  On other
      architectures, the host triple represents the architecture of the
      host CPU, while the process triple represents the architecture used
      by the host CPU to interpret machine code within the current process.
      For example, when executing 32-bit code on a 64-bit Linux machine,
      the host triple may be 'x86_64-unknown-linux-gnu', while the process
      triple may be 'i386-unknown-linux-gnu'.
      
      This fixes JIT for the 32-on-64-bit (and vice versa) build on non-Apple
      platforms.
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D254
      
      llvm-svn: 172627
      a51c6ed6
  8. Dec 13, 2012
  9. Dec 03, 2012
    • Chandler Carruth's avatar
      Use the new script to sort the includes of every file under lib. · ed0881b2
      Chandler Carruth authored
      Sooooo many of these had incorrect or strange main module includes.
      I have manually inspected all of these, and fixed the main module
      include to be the nearest plausible thing I could find. If you own or
      care about any of these source files, I encourage you to take some time
      and check that these edits were sensible. I can't have broken anything
      (I strictly added headers, and reordered them, never removed), but they
      may not be the headers you'd really like to identify as containing the
      API being implemented.
      
      Many forward declarations and missing includes were added to a header
      files to allow them to parse cleanly when included first. The main
      module rule does in fact have its merits. =]
      
      llvm-svn: 169131
      ed0881b2
  10. Oct 31, 2012
  11. Sep 26, 2012
  12. Sep 12, 2012
  13. Jul 19, 2012
  14. Jul 18, 2012
    • Preston Gurd's avatar
      This patch fixes 8 out of 20 unexpected failures in "make check" · f0a48ec8
      Preston Gurd authored
      when run on an Intel Atom processor. The failures have arisen due
      to changes elsewhere in the trunk over the past 8 weeks or so.
      
      These failures were not detected by the Atom buildbot because the
      CPU on the Atom buildbot was not being detected as an Atom CPU.
      The fix for this problem is in Host.cpp and X86Subtarget.cpp, but
      shall remain commented out until the current set of Atom test failures
      are fixed.
      
      Patch by Andy Zhang and Tyler Nowicki!
      
      llvm-svn: 160451
      f0a48ec8
  15. Jun 26, 2012
  16. Jun 12, 2012
  17. May 09, 2012
    • Bob Wilson's avatar
      Use the cpuid 64 bit flag to pick the default CPU name for an unknown model. · 8d4e2fab
      Bob Wilson authored
      For the Family 6 switch in sys::getHostCPUName, an unrecognized model was
      reported as "i686".  That's a really bad default since it means that new
      CPUs will be treated as if they can only use 32-bit code.  This just looks
      at the cpuid extended feature flag for 64 bit support, and if that is set,
      it uses a default x86-64 cpu.  Similar logic is already used for the Family
      15 code.  <rdar://problem/11314502>
      
      llvm-svn: 156486
      8d4e2fab
  18. May 02, 2012
  19. Apr 24, 2012
  20. Jan 17, 2012
  21. Jan 10, 2012
  22. Dec 01, 2011
  23. Aug 25, 2011
  24. Jul 09, 2011
  25. Jun 09, 2011
  26. May 20, 2011
  27. Apr 05, 2011
  28. Nov 29, 2010
  29. Sep 19, 2010
  30. Sep 09, 2010
Loading