[MIRNamer]: Make the check lines in the test robust with regex.
authorAditya Nandakumar <aditya_nandakumar@apple.com>
Sun, 17 Nov 2019 06:58:45 +0000 (22:58 -0800)
committerAditya Nandakumar <aditya_nandakumar@apple.com>
Sun, 17 Nov 2019 06:58:45 +0000 (22:58 -0800)
commitcc6b85390170725d2341416af2b2ab8ea6c25d83
treeb0e7324ec3a812129956ec9884778e7f9753ca50
parent6624fcba43be88fd357c74435a4d6462858c8fed
[MIRNamer]: Make the check lines in the test robust with regex.

Previously we were checking for specific hashes. Make it check for
regexes.

Should fix failure caused by: 72768685567b
llvm/test/CodeGen/MIR/AArch64/mirCanonCopyCopyProp.mir
llvm/test/CodeGen/MIR/AArch64/mirCanonIdempotent.mir
llvm/test/CodeGen/MIR/AArch64/mirnamer.mir
llvm/test/CodeGen/MIR/AMDGPU/mir-canon-multi.mir