Commit 51376cf
committed
[InferAlignment][NFC] Unify Load/Store handling in tryToImproveAlign
Removes code duplication in tryToImproveAlign by unifying load and
store instruction handling with getLoadStore helper functions.1 parent a9ba1b6 commit 51376cf
File tree
2 files changed
+17
-14
lines changed- llvm
- include/llvm/IR
- lib/Transforms/Scalar
2 files changed
+17
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4952 | 4952 | | |
4953 | 4953 | | |
4954 | 4954 | | |
| 4955 | + | |
| 4956 | + | |
| 4957 | + | |
| 4958 | + | |
| 4959 | + | |
| 4960 | + | |
| 4961 | + | |
| 4962 | + | |
| 4963 | + | |
| 4964 | + | |
4955 | 4965 | | |
4956 | 4966 | | |
4957 | 4967 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
41 | 34 | | |
42 | | - | |
| 35 | + | |
43 | 36 | | |
44 | 37 | | |
45 | 38 | | |
| |||
0 commit comments