]> granicus.if.org Git - llvm/commit
RegisterScavenging: Add ScavengerTest pass
authorMatthias Braun <matze@braunis.de>
Fri, 2 Jun 2017 23:01:42 +0000 (23:01 +0000)
committerMatthias Braun <matze@braunis.de>
Fri, 2 Jun 2017 23:01:42 +0000 (23:01 +0000)
commit3310b59ffc8e7c56b503b9236beafe133c9c5ce2
tree620939e3c158c47778de8a385d2cb441476ca7bc
parent95f9057a26a7f90cc6b3425db342254899a3e3f7
RegisterScavenging: Add ScavengerTest pass

This pass allows to run the register scavenging independently of
PrologEpilogInserter to allow targeted testing.

Also adds some basic register scavenging tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304606 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/InitializePasses.h
lib/CodeGen/RegisterScavenging.cpp
test/CodeGen/PowerPC/scavenging.mir [new file with mode: 0644]
test/CodeGen/X86/scavenger.mir [new file with mode: 0644]
tools/llc/llc.cpp