[UpdateTestChecks] Fix PowerPC RE to support AIX assembly
authorQiu Chaofan <qiucofan@cn.ibm.com>
Tue, 5 Jan 2021 02:21:31 +0000 (10:21 +0800)
committerQiu Chaofan <qiucofan@cn.ibm.com>
Tue, 5 Jan 2021 02:28:00 +0000 (10:28 +0800)
commitae614851631387f86cb7ab1f33a4851a6549c279
tree4955283cb98795475819bb4e238829b8686a3fb0
parentf665a8c5b8b42d88f89e1a3594b7d410ef206c32
[UpdateTestChecks] Fix PowerPC RE to support AIX assembly

Current update_llc_test_checks.py cannot generate checks for AIX
(powerpc64-ibm-aix-xcoff) properly. Assembly generated is little bit
different from Linux. So I use begin function comment here to capture
function name.

Reviewed By: MaskRay, steven.zhang

Differential Revision: https://reviews.llvm.org/D93676
llvm/test/CodeGen/PowerPC/aix-lr.ll
llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/ppc_generated_funcs.ll
llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/ppc_generated_funcs.ll.generated.expected
llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/ppc_generated_funcs.ll.nogenerated.expected
llvm/utils/UpdateTestChecks/asm.py