Skip to content
  1. Mar 12, 2015
    • Mehdi Amini's avatar
      Move the DataLayout to the generic TargetMachine, making it mandatory. · 93e1ea16
      Mehdi Amini authored
      Summary:
      I don't know why every singled backend had to redeclare its own DataLayout.
      There was a virtual getDataLayout() on the common base TargetMachine, the
      default implementation returned nullptr. It was not clear from this that
      we could assume at call site that a DataLayout will be available with
      each Target.
      
      Now getDataLayout() is no longer virtual and return a pointer to the
      DataLayout member of the common base TargetMachine. I plan to turn it into
      a reference in a future patch.
      
      The only backend that didn't have a DataLayout previsouly was the CPPBackend.
      It now initializes the default DataLayout. This commit is NFC for all the
      other backends.
      
      Test Plan: clang+llvm ninja check-all
      
      Reviewers: echristo
      
      Subscribers: jfb, jholewinski, llvm-commits
      
      Differential Revision: http://reviews.llvm.org/D8243
      
      From: Mehdi Amini <mehdi.amini@apple.com>
      llvm-svn: 231987
      93e1ea16
    • Joerg Sonnenberger's avatar
      Under duress, move check for target support of __builtin_setjmp/ · 27173288
      Joerg Sonnenberger authored
      __builtin_longjmp to Sema as requested by John McCall.
      
      llvm-svn: 231986
      27173288
    • Reid Kleckner's avatar
      Fix some clang warnings in WinEHPrepare · 3c2ea310
      Reid Kleckner authored
      llvm-svn: 231985
      3c2ea310
    • Reid Kleckner's avatar
      Handle big index in getelementptr instruction · 016c6b21
      Reid Kleckner authored
      CodeGen incorrectly ignores (assert from APInt) constant index bigger
      than 2^64 in getelementptr instruction. This is a test and fix for that.
      
      Patch by Paweł Bylica!
      
      Reviewed By: rnk
      
      Subscribers: majnemer, rnk, mcrosier, resistor, llvm-commits
      
      Differential Revision: http://reviews.llvm.org/D8219
      
      llvm-svn: 231984
      016c6b21
    • Alexey Samsonov's avatar
      Add deprecation notice for -f(no-)sanitize-recover flags. · ce2e77c7
      Alexey Samsonov authored
      These flags should be replaced with corresponding
      -f(no-)sanitize-recover=<list> flags.
      
      llvm-svn: 231983
      ce2e77c7
    • Hal Finkel's avatar
      [PowerPC] Remove canFoldAsLoad from instruction definitions · 6a778fb7
      Hal Finkel authored
      The PowerPC backend had a number of loads that were marked as canFoldAsLoad
      (and I'm partially at fault here for copying around the relevant line of
      TableGen definitions without really looking at what it meant). This is not
      right; PPC (non-memory) instructions don't support direct memory operands, and
      so there is nothing a 'foldable' instruction could be folded into.
      
      Noticed by inspection, no test case.
      
      The one thing we might lose by doing this is ability to fold some loads into
      stackmap/patchpoint pseudo-instructions. However, this was untested, and would
      not obviously have worked for extending loads, and I'd rather re-add support
      for that once it can be tested.
      
      llvm-svn: 231982
      6a778fb7
    • Andrew Kaylor's avatar
      Extended support for native Windows C++ EH outlining · 6b67d427
      Andrew Kaylor authored
      Differential Review: http://reviews.llvm.org/D7886
      
      llvm-svn: 231981
      6b67d427
  2. Mar 11, 2015
Loading