Arthur Eubanks
4e6013250d
[NFC][OpaquePtr] Use GlobalValue::getValueType() more
...
Instead of getType()->getElementType().
2021-07-09 09:55:41 -07:00
David Blaikie
1def2579e1
PR51018: Remove explicit conversions from SmallString to StringRef to future-proof against C++23
...
C++23 will make these conversions ambiguous - so fix them to make the
codebase forward-compatible with C++23 (& a follow-up change I've made
will make this ambiguous/invalid even in <C++23 so we don't regress
this & it generally improves the code anyway)
2021-07-08 13:37:57 -07:00
Jon Roelofs
493d6928fe
[Remarks] Make memsize remarks report as an analysis, not a missed opportunity.
...
Differential revision: https://reviews.llvm.org/D104078
2021-06-22 18:22:47 -07:00
Simon Pilgrim
b01d393fc0
Fix MSVC int64_t -> uint64_t "narrowing conversion" warning.
2021-06-10 10:55:24 +01:00
Jon Roelofs
f8f1c9c389
Annotate memcpy's of globals with info about the src/dst
...
Differential revision: https://reviews.llvm.org/D103994
2021-06-09 18:11:08 -07:00
Jon Roelofs
095e91c973
[Remarks] Add analysis remarks for memset/memcpy/memmove lengths
...
Re-landing now that the crasher this patch previously uncovered has been fixed
in: https://reviews.llvm.org/D102935
Differential revision: https://reviews.llvm.org/D102452
2021-05-24 10:10:44 -07:00
Jon Roelofs
0af3105b64
Revert "[Remarks] Add analysis remarks for memset/memcpy/memmove lengths"
...
This reverts commit 4bf69fb52b3c445ddcef5043c6b292efd14330e0.
This broke spec2k6/403.gcc under -global-isel. Details to follow once I've
reduced the problem.
2021-05-20 12:19:16 -07:00
Jon Roelofs
3d2ffc88e6
Fix warnings in windows bots. NFC
2021-05-19 17:42:34 -07:00
Jon Roelofs
4bf69fb52b
[Remarks] Add analysis remarks for memset/memcpy/memmove lengths
...
Differential revision: https://reviews.llvm.org/D102452
2021-05-19 15:09:18 -07:00