| commit | f0b6288cbf61b7b4bbce473690f89fc256a547ab | [log] [tgz] |
|---|---|---|
| author | Preston Gurd <preston.gurd@intel.com> | Mon Sep 30 23:18:42 2013 +0000 |
| committer | Preston Gurd <preston.gurd@intel.com> | Mon Sep 30 23:18:42 2013 +0000 |
| tree | de94c680c79de83af1df7a179ab5074f03cf0dc0 | |
| parent | 39eebfada6dbadd233387aa32b6ee439e9c6f1e1 [diff] |
The X86FixupLEAs pass for Intel Atom must not call convertToThreeAddress on ADD16rr opcodes, if src1 != src, since that would cause convertToThreeAddress to try to create a virtual register. This is not permitted after register allocation, which is when the X86FixupLEAs pass runs. This patch fixes PR16785. llvm-svn: 191711