Skip to content
  1. Jan 19, 2019
    • Roman Tereshin's avatar
      Reapply "[CGP] Check for existing inttotpr before creating new one" · dd6f9f68
      Roman Tereshin authored
      Original commit: r351582
      
      llvm-svn: 351618
      dd6f9f68
    • Amara Emerson's avatar
      Revert r351584: "GlobalISel: Verify g_zextload and g_sextload" · d5015edb
      Amara Emerson authored
      This new assertion triggered on the AArch64 GlobalISel bots. Reverting while it's being investigated.
      
      llvm-svn: 351617
      d5015edb
    • Reid Kleckner's avatar
      [X86] Deduplicate static calling convention helpers for code size, NFC · 38f9900a
      Reid Kleckner authored
      Summary:
      Right now we include ${TGT}GenCallingConv.inc once per each instruction
      selection method implemented by ${TGT}:
      - ${TGT}ISelLowering.cpp
      - ${TGT}CallLowering.cpp
      - ${TGT}FastISel.cpp
      
      Instead, add a mechanism to tablegen for marking a particular convention
      as "External", which causes tablegen to emit into the ::llvm namespace,
      instead of as a static helper. This allows us to provide a header to
      forward declare it, so we can simply call the function from all the
      places it is referenced. Typically the calling convention analyzer is
      called indirectly, so it doesn't benefit from inlining.
      
      This saves a bit of final binary size, but mostly just saves object file
      size:
      
      before  after   diff   artifact
      12852K  12492K  -360K  X86ISelLowering.cpp.obj
      4640K   4280K   -360K  X86FastISel.cpp.obj
      1704K   2092K   +388K  X86CallingConv.cpp.obj
      52448K  52336K  -112K  llc.exe
      
      I didn't collect before numbers for X86CallLowering.cpp.obj, which is
      for GlobalISel, but we should save 360K there as well.
      
      This patch applies the strategy to the X86 backend, but there is no
      reason it couldn't be applied to the other backends that implement
      multiple ISel strategies, like AArch64.
      
      Reviewers: craig.topper, hfinkel, efriedma
      
      Subscribers: javed.absar, kristof.beyls, hiraditya, llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D56883
      
      llvm-svn: 351616
      38f9900a
    • Nico Weber's avatar
      Use llvm_canonicalize_cmake_booleans for LLVM_LIBXML2_ENABLED [llvm] · 63fd07ce
      Nico Weber authored
      r291284 added a nice mechanism to consistently pass CMake on/off toggles to
      lit. This change uses it for LLVM_LIBXML2_ENABLED too (which was added around
      the same time and doesn't use the new system yet).
      
      Also alphabetically sort the list passed to llvm_canonicalize_cmake_booleans()
      in llvm/test/CMakeLists.txt.
      
      No intended behavior change.
      
      Differential Revision: https://reviews.llvm.org/D56912
      
      llvm-svn: 351615
      63fd07ce
    • Nico Weber's avatar
      Use llvm_canonicalize_cmake_booleans for LLVM_LIBXML2_ENABLED [lld] · b166d7e7
      Nico Weber authored
      r291284 added a nice mechanism to consistently pass CMake on/off toggles to
      lit. This change uses it for LLVM_LIBXML2_ENABLED too (which was added around
      the same time and doesn't use the new system yet).
      
      No intended behavior change.
      
      Differential Revision: https://reviews.llvm.org/D56912
      
      llvm-svn: 351614
      b166d7e7
    • Rui Ueyama's avatar
      Remove F_modify flag from FileOutputBuffer. · 8e7600dc
      Rui Ueyama authored
      This code is dead. There is no use of the feature in the entire LLVM codebase.
      
      Differential Revision: https://reviews.llvm.org/D56939
      
      llvm-svn: 351613
      8e7600dc
    • Mandeep Singh Grang's avatar
      [lld] Use range-based llvm::sort · f9d76dc3
      Mandeep Singh Grang authored
      llvm-svn: 351612
      f9d76dc3
    • Jonas Devlieghere's avatar
      [dotest] Add logging to investigate CI issue. · 71c73030
      Jonas Devlieghere authored
      We're seeing an odd issue on GreenDragon's lldb-cmake-matrix. Dotest is
      unable to move a log file (OSError: [Errno 2] No such file or
      directory). The os.rename call is guarded with a check that the source
      file and destination directory exist.
      
      This wraps the call in a try-except that prints the source and
      destination path to see which component seemingly doesn't exist.
      
      llvm-svn: 351611
      71c73030
    • Artem Dergachev's avatar
      [analyzer] pr37688: Fix a crash upon evaluating a deleted destructor of a union. · 097a0497
      Artem Dergachev authored
      Add a defensive check against an invalid destructor in the CFG.
      
      Unions with fields with destructors have their own destructor implicitly
      deleted. Due to a bug in the CFG we're still trying to evaluate them
      at the end of the object's lifetime and crash because we are unable
      to find the destructor's declaration.
      
      rdar://problem/47362608
      
      Differential Revision: https://reviews.llvm.org/D56899
      
      llvm-svn: 351610
      097a0497
  2. Jan 18, 2019
Loading