update_mir_test_checks: Accept IR as input as well as MIR
authorJustin Bogner <mail@justinbogner.com>
Tue, 19 Dec 2017 00:49:04 +0000 (00:49 +0000)
committerJustin Bogner <mail@justinbogner.com>
Tue, 19 Dec 2017 00:49:04 +0000 (00:49 +0000)
commit4314f3adc283cadbb6d02929c219cd8ac86c3b3e
tree67269a07f2eb698dd776c66ae2d0b60c1abc971d
parente8437de727ed208cc4a8b7b36b6165dca89fafcb
update_mir_test_checks: Accept IR as input as well as MIR

We need to handle IR for tests that want to do lowering (or just
-stop-after with IR as input). I've run this on one AArch64 test to
demonstrate what it looks like.

llvm-svn: 321048
llvm/test/CodeGen/AArch64/GlobalISel/translate-gep.ll
llvm/utils/update_mir_test_checks.py