Commit c27137e
[X86] Do not combine LRINT and TRUNC (llvm#125848) (swiftlang#10385)
Per to discussions in llvm#125324, most participants are opposed to this
optimization. So remove the combination to address the concerns.
Fixes llvm#125324
(cherry picked from commit 8c222c1)
Co-authored-by: Phoebe Wang <[email protected]>1 parent 9564f05 commit c27137e
File tree
2 files changed
+18
-5
lines changed- llvm
- lib/Target/X86
- test/CodeGen/X86
2 files changed
+18
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52654 | 52654 | | |
52655 | 52655 | | |
52656 | 52656 | | |
52657 | | - | |
52658 | | - | |
52659 | | - | |
52660 | | - | |
52661 | | - | |
52662 | 52657 | | |
52663 | 52658 | | |
52664 | 52659 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
48 | 66 | | |
49 | 67 | | |
50 | 68 | | |
0 commit comments