Skip to content
  1. Aug 09, 2018
    • Reid Kleckner's avatar
      [GlobalOpt] Don't apply fastcc if it would break inalloca invariants · 80c6ec11
      Reid Kleckner authored
      The inalloca parameter has to be the only parameter passed in memory.
      Changing the convention to fastcc can break that.
      
      At some point we should teach global opt how to optimize ABI attributes
      like inalloca and maybe byval. These attributes are mainly used to match
      C ABIs. They are harder for LLVM to optimize and they don't always
      generate the best code.
      
      Fixes PR38487
      
      llvm-svn: 339360
      80c6ec11
  2. Feb 27, 2015
    • David Blaikie's avatar
      [opaque pointer type] Add textual IR support for explicit type parameter to load instruction · a79ac14f
      David Blaikie authored
      Essentially the same as the GEP change in r230786.
      
      A similar migration script can be used to update test cases, though a few more
      test case improvements/changes were required this time around: (r229269-r229278)
      
      import fileinput
      import sys
      import re
      
      pat = re.compile(r"((?:=|:|^)\s*load (?:atomic )?(?:volatile )?(.*?))(| addrspace\(\d+\) *)\*($| *(?:%|@|null|undef|blockaddress|getelementptr|addrspacecast|bitcast|inttoptr|\[\[[a-zA-Z]|\{\{).*$)")
      
      for line in sys.stdin:
        sys.stdout.write(re.sub(pat, r"\1, \2\3*\4", line))
      
      Reviewers: rafael, dexonsmith, grosser
      
      Differential Revision: http://reviews.llvm.org/D7649
      
      llvm-svn: 230794
      a79ac14f
  3. Feb 26, 2014
Loading