1. Jun 15, 2019
    • Shawn Landden's avatar
      [SimpligyCFG] NFC intended, remove GCD that was only used for powers of two · f2e60fc4
      Shawn Landden authored
      and replace with an equilivent countTrailingZeros.
      
      GCD is much more expensive than this, with repeated division.
      
      This depends on D60823
      
      Differential Revision: https://reviews.llvm.org/D61151
      
      llvm-svn: 363422
      f2e60fc4
    • Nico Weber's avatar
      Wrap a test to 80 columns · bea12861
      Nico Weber authored
      llvm-svn: 363421
      bea12861
    • Saleem Abdulrasool's avatar
      build: don't attempt to run config.guess on Windows · 2874d285
      Saleem Abdulrasool authored
      When cross-compiling LLVM to android from Windows (for LLVMSupport), we would
      attempt to execute `config.guess` to determine the host triple since
      `CMAKE_SYSTEM_NAME` is not Windows and `CMAKE_C_COMPILER` will be set to GNU or
      Clang.  This will fail as `config.guess` is a shell script which cannot be
      executed on Windows.  Simply log a warning instead.  The user can specify the
      value for this instead in those cases.
      
      llvm-svn: 363420
      2874d285
    • Nico Weber's avatar
      Remove two unused parameters · 96a15796
      Nico Weber authored
      llvm-svn: 363419
      96a15796
    • Valery Pykhtin's avatar
      [AMDGPU] Don't constrain callees with inlinehint from inlining on MaxBB check · ffeb01c1
      Valery Pykhtin authored
      Summary: Function bodies marked inline in an opencl source are eliminated but MaxBB check may prevent inlining them leaving undefined references.
      
      Reviewers: rampitec, arsenm
      
      Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, Anastasia, t-tye, hiraditya, llvm-commits
      
      Tags: #llvm
      
      Differential Revision: https://reviews.llvm.org/D63337
      
      llvm-svn: 363418
      ffeb01c1
    • Kevin P. Neal's avatar
      [FPEnv] Lower STRICT_FP_EXTEND and STRICT_FP_ROUND nodes in preprocess phase... · fece7c6c
      Kevin P. Neal authored
      [FPEnv] Lower STRICT_FP_EXTEND and STRICT_FP_ROUND nodes in preprocess phase of ISelLowering to mirror non-strict nodes on x86.
      
      I recently discovered a bug on the x86 platform: The fp80 type was not handled well by x86 for constrained floating point nodes, as their regular counterparts are replaced by extending loads and truncating stores during the preprocess phase. Normally, platforms don't have this issue, as they don't typically attempt to perform such legalizations during instruction selection preprocessing. Before this change, strict_fp nodes survived until they were mutated to normal nodes, which happened shortly after preprocessing on other platforms. This modification lowers these nodes at the same phase while properly utilizing the chain.5
      
      Submitted by:	Drew Wock <drew.wock@sas.com>
      Reviewed by:	Craig Topper, Kevin P. Neal
      Approved by:	Craig Topper
      Differential Revision:	https://reviews.llvm.org/D63271
      
      llvm-svn: 363417
      fece7c6c
    • Stanislav Mekhanoshin's avatar
      [AMDGPU] gfx1010 BoolReg definition. NFC. · cdf33926
      Stanislav Mekhanoshin authored
      Earlier commit has added AMDGPUOperand::isBoolReg(). Turns out
      gcc issues warning about unused function since D63204 is not
      yet submitted.
      
      Added NFC part of D63204 to have a use of that function and
      mute the warning.
      
      llvm-svn: 363416
      cdf33926
    • Francis Visoiu Mistrih's avatar
      Reland: [Remarks] Refactor optimization remarks setup · 7a21113c
      Francis Visoiu Mistrih authored
      * Add a common function to setup opt-remarks
      * Rename common options to the same names
      * Add error types to distinguish between file errors and regex errors
      
      llvm-svn: 363415
      7a21113c
  2. Jun 14, 2019