Commit e5026f0
committed
[llvm] Remove uses of Type::getPointerTo() (NFC)
Partial progress towards removing in-tree uses of `getPointerTo()`,
by employing the following options:
* Drop the call entirely if the sole purpose of it is to support a no-op
bitcast (remove the no-op bitcast as well).
* Replace with `PointerType::get()`/`PointerType::getUnqual()`
This is a NFC cleanup effort.
Reviewed By: barannikov88
Differential Revision: https://reviews.llvm.org/D1552321 parent 193c67c commit e5026f0
File tree
7 files changed
+13
-14
lines changed- llvm/lib
- CodeGen/SelectionDAG
- IR
- Target
- Hexagon
- X86
- Transforms
- Instrumentation
- Vectorize
7 files changed
+13
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2251 | 2251 | | |
2252 | 2252 | | |
2253 | 2253 | | |
2254 | | - | |
| 2254 | + | |
2255 | 2255 | | |
2256 | 2256 | | |
2257 | 2257 | | |
| |||
2342 | 2342 | | |
2343 | 2343 | | |
2344 | 2344 | | |
2345 | | - | |
| 2345 | + | |
2346 | 2346 | | |
2347 | 2347 | | |
2348 | 2348 | | |
2349 | 2349 | | |
2350 | 2350 | | |
2351 | 2351 | | |
2352 | 2352 | | |
2353 | | - | |
| 2353 | + | |
2354 | 2354 | | |
2355 | 2355 | | |
2356 | 2356 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2853 | 2853 | | |
2854 | 2854 | | |
2855 | 2855 | | |
2856 | | - | |
2857 | | - | |
2858 | | - | |
| 2856 | + | |
2859 | 2857 | | |
2860 | 2858 | | |
2861 | 2859 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
706 | 706 | | |
707 | 707 | | |
708 | 708 | | |
709 | | - | |
| 709 | + | |
| 710 | + | |
710 | 711 | | |
711 | 712 | | |
712 | 713 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5760 | 5760 | | |
5761 | 5761 | | |
5762 | 5762 | | |
5763 | | - | |
5764 | | - | |
| 5763 | + | |
| 5764 | + | |
5765 | 5765 | | |
5766 | 5766 | | |
5767 | 5767 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
| 193 | + | |
| 194 | + | |
194 | 195 | | |
195 | 196 | | |
196 | 197 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3379 | 3379 | | |
3380 | 3380 | | |
3381 | 3381 | | |
3382 | | - | |
3383 | 3382 | | |
3384 | 3383 | | |
3385 | 3384 | | |
3386 | | - | |
3387 | | - | |
| 3385 | + | |
3388 | 3386 | | |
3389 | 3387 | | |
3390 | 3388 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9476 | 9476 | | |
9477 | 9477 | | |
9478 | 9478 | | |
9479 | | - | |
| 9479 | + | |
| 9480 | + | |
9480 | 9481 | | |
9481 | 9482 | | |
9482 | 9483 | | |
| |||
0 commit comments