Commit 66da9f3
authored
[SelectionDAG] Fix copyExtraInfo where new node has entry as operand (#149307)
Add special case handling where a new replacement node has the entry
node as an operand i.e. does not depend on any other nodes.
This can be observed with the existing X86/pcsections-atomics.ll test
case when targeting Haswell, where certain 128-bit atomics are
transformed into arch-specific instructions, with some operands having
no other dependencies.1 parent fc5c5a9 commit 66da9f3
File tree
2 files changed
+3386
-1
lines changed- llvm
- lib/CodeGen/SelectionDAG
- test/CodeGen/X86
2 files changed
+3386
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13872 | 13872 | | |
13873 | 13873 | | |
13874 | 13874 | | |
| 13875 | + | |
| 13876 | + | |
13875 | 13877 | | |
13876 | 13878 | | |
13877 | 13879 | | |
| |||
13903 | 13905 | | |
13904 | 13906 | | |
13905 | 13907 | | |
13906 | | - | |
| 13908 | + | |
13907 | 13909 | | |
13908 | 13910 | | |
| 13911 | + | |
| 13912 | + | |
| 13913 | + | |
| 13914 | + | |
| 13915 | + | |
13909 | 13916 | | |
13910 | 13917 | | |
13911 | 13918 | | |
| |||
0 commit comments