commit | 0706b913a32e7ebf46a6860193511dd03f719fdd | [log] [tgz] |
---|---|---|
author | Volkan Keles <vkeles@apple.com> | Tue Nov 06 18:31:25 2018 +0000 |
committer | Volkan Keles <vkeles@apple.com> | Tue Nov 06 18:31:25 2018 +0000 |
tree | b347315b934e8b7824cd8a85779af1523bad2023 | |
parent | d9f217dc39749ca94b33cfe721c823a00945b6f7 [diff] |
Reland r346166: [GlobalISel] Refactor the artifact combiner a bit by using MIPatternMatch It was causing a crash because we were trying to get the definition of a target register. Fixed the issue by adding a check and added a test case for that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346251 91177308-0d34-0410-b5e6-96231b3b80d8