Skip to content
  1. Feb 15, 2017
  2. Feb 14, 2017
    • Dimitry Andric's avatar
      Disable wrapping llvm-xray YAML output · 9afed037
      Dimitry Andric authored
      Summary:
      The YAML output produced by llvm-xray is supposed to be wrapped at the
      arbitrary default of 70 columns set by `yaml:Output`.  Unfortunately,
      the wrapping is rather unpredictable, and can easily go past the set
      number of columns, depending on the execution environment.
      
      To make the YAML output environment-independent, disable wrapping
      instead.
      
      Reviewers: dberris
      
      Reviewed By: dberris
      
      Subscribers: fhahn, llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D29962
      
      llvm-svn: 295116
      9afed037
    • Easwaran Raman's avatar
      Fix a bug in caller's BFI update code after inlining. · 5a12f236
      Easwaran Raman authored
      Multiple blocks in the callee can be mapped to a single cloned block
      since we prune the callee as we clone it. The existing code
      iterates over the value map and clones the block frequency (and
      eventually scales the frequencies of the cloned blocks). Value map's
      iteration is not deterministic and so the cloned block might get the
      frequency of any of the original blocks. The fix is to set the max of
      the original frequencies to the cloned block. The first block in the
      sequence must have this max frequency and, in the call context,
      subsequent blocks must have its frequency.
      
      Differential Revision: https://reviews.llvm.org/D29696
      
      llvm-svn: 295115
      5a12f236
    • Kostya Serebryany's avatar
      Use "%zd" format specifier for printing number of testcases executed. · ae579a79
      Kostya Serebryany authored
      Summary:
      This helps to avoid signed integer overflow after running a fast fuzz target for several hours, e.g.:
      
      <...>
      Done -1097903291 runs in 54001 second(s)
      
      
      
      Reviewers: kcc
      
      Reviewed By: kcc
      
      Differential Revision: https://reviews.llvm.org/D29941
      
      llvm-svn: 295112
      ae579a79
    • Michael Kuperstein's avatar
      [LV] Rename Induction to PrimaryInduction. NFC. · 569162fe
      Michael Kuperstein authored
      llvm-svn: 295111
      569162fe
    • Peter Collingbourne's avatar
      WholeProgramDevirt: Change internal vcall data structures to match summary. · 534c0175
      Peter Collingbourne authored
      Group calls into constant and non-constant arguments up front, and use uint64_t
      instead of ConstantInt to represent constant arguments. The goal is to allow
      the information from the summary to fit naturally into this data structure in
      a future change (specifically, it will be added to CallSiteInfo).
      
      This has two side effects:
      - We disallow VCP for constant integer arguments of width >64 bits.
      - We remove the restriction that the bitwidth of a vcall's argument and return
        types must match those of the vfunc definitions.
      I don't expect either of these to matter in practice. The first case is
      uncommon, and the second one will lead to UB (so we can do anything we like).
      
      Differential Revision: https://reviews.llvm.org/D29744
      
      llvm-svn: 295110
      534c0175
Loading