Commit 7e6d008
committed
AsmPrinter: Remove unneeded lowerRelativeReference overrides
The function is only called by AsmPrinter, where there is a fallback
when lowerRelativeReference returns nullptr.
wasm and XCOFF could use the fallback code.
(lowerRelativeReference was introduced in 2016 (https://reviews.llvm.org/D17938)
for C++ relative vtables, but C++ relative vtables ended up using
dso_local_equivalent. llvm/test/MC/COFF/cross-section-relative.ll also
uses this.)1 parent ddc6279 commit 7e6d008
File tree
2 files changed
+0
-34
lines changed- llvm
- include/llvm/CodeGen
- lib/CodeGen
2 files changed
+0
-34
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | 243 | | |
248 | 244 | | |
249 | 245 | | |
| |||
269 | 265 | | |
270 | 266 | | |
271 | 267 | | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | 268 | | |
277 | 269 | | |
278 | 270 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2289 | 2289 | | |
2290 | 2290 | | |
2291 | 2291 | | |
2292 | | - | |
2293 | | - | |
2294 | | - | |
2295 | | - | |
2296 | | - | |
2297 | | - | |
2298 | | - | |
2299 | | - | |
2300 | | - | |
2301 | | - | |
2302 | | - | |
2303 | | - | |
2304 | | - | |
2305 | | - | |
2306 | | - | |
2307 | | - | |
2308 | | - | |
2309 | | - | |
2310 | | - | |
2311 | 2292 | | |
2312 | 2293 | | |
2313 | 2294 | | |
| |||
2635 | 2616 | | |
2636 | 2617 | | |
2637 | 2618 | | |
2638 | | - | |
2639 | | - | |
2640 | | - | |
2641 | | - | |
2642 | | - | |
2643 | | - | |
2644 | | - | |
2645 | 2619 | | |
2646 | 2620 | | |
2647 | 2621 | | |
| |||
0 commit comments