Commit 850f0be
committed
[NVPTX] Fix vaarg store alignment
Existing vaargs.ll test has an issue with inconsistent alignment used for
store and load of vaarg. In fact PTX code from this test will not work
correctly.
This patch applies additional alignment check into LowerCall to avoid
this discreapancy.1 parent 27e78e6 commit 850f0be
File tree
2 files changed
+11
-5
lines changed- llvm
- lib/Target/NVPTX
- test/CodeGen/NVPTX
2 files changed
+11
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1607 | 1607 | | |
1608 | 1608 | | |
1609 | 1609 | | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
1610 | 1616 | | |
1611 | 1617 | | |
1612 | 1618 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
93 | | - | |
| 92 | + | |
| 93 | + | |
94 | 94 | | |
95 | | - | |
96 | | - | |
97 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
0 commit comments