commit | c5185e8ec4e50617a7195c83792dff1f88329e56 | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@intel.com> | Thu Sep 06 22:41:44 2018 +0000 |
committer | Craig Topper <craig.topper@intel.com> | Thu Sep 06 22:41:44 2018 +0000 |
tree | 65c25ee02680b44e2748788ce5fe3690aefa5b2b | |
parent | 0a118f7bb4d96c7f2b78ce01c387b675997c4fcb [diff] |
[X86] Add isel patterns for commuting X86adc_flag with a load in the LHS. The peephole pass likely gets this normally, but we should be doing it during isel. Ideally we'd just make the X86adc_flag pattern SDNPCommutable, but the tablegen doesn't handle that when one of the operands is a register reference. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@341596 91177308-0d34-0410-b5e6-96231b3b80d8