Commit 2e913a8
committed
[X86] Remove single-use checks when combining xor and vfmulc/vcfmulc.
The current implementation to combine xor patterns for conjugation with
complex multiplies will not perform the transformation when either the
conjugate xor result or other multiplicand have other uses. This change
eliminates both single-use checks.
The xor result check isn't required as even if the conjugate result is
needed elsewhere, the transformation eliminates the dependence. The
check of the other multiplicand isn't required for correctness and
has no apparent performance implications.1 parent 1d583ed commit 2e913a8
File tree
2 files changed
+22
-2
lines changed- llvm
- lib/Target/X86
- test/CodeGen/X86
2 files changed
+22
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53621 | 53621 | | |
53622 | 53622 | | |
53623 | 53623 | | |
53624 | | - | |
| 53624 | + | |
53625 | 53625 | | |
53626 | | - | |
| 53626 | + | |
53627 | 53627 | | |
53628 | 53628 | | |
53629 | 53629 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
86 | 106 | | |
87 | 107 | | |
88 | 108 | | |
| |||
0 commit comments