commit | e57187cbe321a286f6a7f409a7badd1ae4e4642c | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Fri Jan 16 20:57:18 2009 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Fri Jan 16 20:57:18 2009 +0000 |
tree | 8395fea43586e2ee3e8630576c9a9bbd2cd2c5b3 | |
parent | a21a8607e4d35c9e6d6ed276689e84651e602231 [diff] |
CreateVirtualRegisters does trivial copy coalescing. If a node def is used by a single CopyToReg, it reuses the virtual register assigned to the CopyToReg. This won't work for SDNode that is a clone or is itself cloned. Disable this optimization for those nodes or it can end up with non-SSA machine instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62356 91177308-0d34-0410-b5e6-96231b3b80d8