Skip to content
  1. Jun 30, 2016
  2. Jun 29, 2016
    • Michael Gottesman's avatar
      [LLVMConfig.cmake] LLVM_CONFIG_EXPORTED_TARGETS => LLVM_EXPORTED_TARGETS. · fb8c2e9c
      Michael Gottesman authored
      This matches more closely the rest of the variables in LLVMConfig.cmake which
      shed the _CONFIG_ part of their names.
      
      llvm-svn: 274175
      fb8c2e9c
    • Vedant Kumar's avatar
      [llvm-cov] Use relative paths to file reports in -output-dir mode · d6d192cd
      Vedant Kumar authored
      This makes it possible to e.g copy a report to another filesystem.
      
      llvm-svn: 274173
      d6d192cd
    • Zachary Turner's avatar
      Resubmit "Update llvm command line parser to support subcommands." · 07670b3e
      Zachary Turner authored
      This fixes an issue where occurrence counts would be unexpectedly
      reset when parsing different parts of a command line multiple
      times.
      
      **ORIGINAL COMMIT MESSAGE**
      
      This allows command line tools to use syntaxes like the following:
      
            llvm-foo.exe command1 -o1 -o2
            llvm-foo.exe command2 -p1 -p2
      
      Where command1 and command2 contain completely different sets of
      valid options.  This is backwards compatible with previous uses
      of llvm cl which did not support subcommands, as any option
      which specifies no optional subcommand (e.g. all existing
      code) goes into a special "top level" subcommand that expects
      dashed options to appear immediately after the program name.
      For example, code which is subcommand unaware would generate
      a command line such as the following, where no subcommand
      is specified:
      
            llvm-foo.exe -q1 -q2
      
      The top level subcommand can co-exist with actual subcommands,
      as it is implemented as an actual subcommand which is searched
      if no explicit subcommand is specified.  So llvm-foo.exe as
      specified above could be written so as to support all three
      aforementioned command lines simultaneously.
      
      There is one additional "special" subcommand called AllSubCommands,
      which can be used to inject an option into every subcommand.
      This is useful to support things like help, so that commands
      such as:
      
            llvm-foo.exe --help
            llvm-foo.exe command1 --help
            llvm-foo.exe command2 --help
      
      All work and display the help for the selected subcommand
      without having to explicitly go and write code to handle each
      one separately.
      
      This patch is submitted without an example of anything actually
      using subcommands, but a followup patch will convert the
      llvm-pdbdump tool to use subcommands.
      
      Reviewed By: beanz
      
      llvm-svn: 274171
      07670b3e
    • Artem Belevich's avatar
      Revert r273313 "[NVPTX] Improve lowering of byval args of device functions." · 4d5d7be8
      Artem Belevich authored
      The change causes llvm crash in some unoptimized builds.
      
      llvm-svn: 274163
      4d5d7be8
    • Evgeniy Stepanov's avatar
      StackColoring for SafeStack. · a5da256f
      Evgeniy Stepanov authored
      This is a fix for PR27842.
      
      An IR-level implementation of stack coloring tailored to work with
      SafeStack. It is a bit weaker than the MI implementation in that it
      does not the "lifetime start at first access" logic. This can be
      improved in the future.
      
      This patch also replaces the naive implementation of stack frame
      layout with a greedy algorithm that can split existing stack slots
      and even fit small objects inside the alignment padding of other
      objects.
      
      llvm-svn: 274162
      a5da256f
    • Kevin Enderby's avatar
      Change Archive::create() from ErrorOr<...> to Expected<...> and update · c60a321c
      Kevin Enderby authored
      its clients.
      
      This commit will break the next lld builds.  I’ll be committing the matching
      change for lld next.
      
      llvm-svn: 274160
      c60a321c
    • Tim Shen's avatar
      [InstCombine] Simplify and correct folding fcmps with the same children · aec68b26
      Tim Shen authored
      Summary: Take advantage of FCmpInst::Predicate's bit pattern and handle (fcmp *, x, y) | (fcmp *, x, y) and (fcmp *, x, y) & (fcmp *, x, y) more consistently. Also fold more FCmpInst::FCMP_FALSE and FCmpInst::FCMP_TRUE to constants.
      
      Currently InstCombine wrongly folds (fcmp ogt, x, y) | (fcmp ord, x, y) to (fcmp ogt, x, y); this patch also fixes that.
      
      Reviewers: spatel
      
      Subscribers: llvm-commits, iteratee, echristo
      
      Differential Revision: http://reviews.llvm.org/D21775
      
      llvm-svn: 274156
      aec68b26
    • Tim Shen's avatar
      [InstCombine, NFC] Change the generated variable names by creating new instructions · 860a67eb
      Tim Shen authored
      This removes some noise for D21775's test changes.
      
      llvm-svn: 274155
      860a67eb
    • Davide Italiano's avatar
      [Triple] Reimplement isLittleEndian(). Now it works for arm too. · 901269c8
      Davide Italiano authored
      Differential Revision:   http://reviews.llvm.org/D21846
      
      llvm-svn: 274154
      901269c8
Loading