Commit b7d5229
Kai Luo
[PowerPC] Update alignment for ReuseLoadInfo in LowerFP_TO_INTForReuse
In LowerFP_TO_INTForReuse, when emitting `stfiwx`, alignment of 4 is
set for the `MachineMemOperand`, but RLI(ReuseLoadInfo)'s alignment is
not updated for following loads.
It's related to failed alignment check reported in
https://bugs.llvm.org/show_bug.cgi?id=45297
Differential Revision: https://reviews.llvm.org/D776241 parent 8423a6f commit b7d5229
File tree
2 files changed
+36
-3
lines changed- llvm
- lib/Target/PowerPC
- test/CodeGen/PowerPC
2 files changed
+36
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8032 | 8032 | | |
8033 | 8033 | | |
8034 | 8034 | | |
| 8035 | + | |
8035 | 8036 | | |
8036 | 8037 | | |
| 8038 | + | |
8037 | 8039 | | |
8038 | | - | |
| 8040 | + | |
8039 | 8041 | | |
8040 | 8042 | | |
8041 | 8043 | | |
8042 | 8044 | | |
8043 | | - | |
| 8045 | + | |
8044 | 8046 | | |
8045 | 8047 | | |
8046 | 8048 | | |
| |||
8053 | 8055 | | |
8054 | 8056 | | |
8055 | 8057 | | |
| 8058 | + | |
8056 | 8059 | | |
8057 | 8060 | | |
8058 | 8061 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
3 | 9 | | |
4 | 10 | | |
5 | 11 | | |
6 | 12 | | |
7 | 13 | | |
8 | 14 | | |
9 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
10 | 40 | | |
11 | 41 | | |
12 | 42 | | |
| |||
0 commit comments