[PATCH] D153096: [MC] Fold A-B when A's fragment precedes B's fragment

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 20 21:05:55 PDT 2023


MaskRay updated this revision to Diff 533122.
MaskRay marked 4 inline comments as done.
MaskRay edited the summary of this revision.
MaskRay added a comment.
Herald added a subscriber: kristof.beyls.

improve tests
simplify `for (auto FI = FA->getIterator(), FE = SecA.end(); ++FI != FE;) {` with a `std::find`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D153096/new/

https://reviews.llvm.org/D153096

Files:
  llvm/lib/MC/MCExpr.cpp
  llvm/test/MC/AArch64/arm64-small-data-fixups.s
  llvm/test/MC/ARM/directive-if-subtraction.s
  llvm/test/MC/MachO/absolutize.s
  llvm/test/MC/MachO/darwin-x86_64-reloc.s
  llvm/test/MC/MachO/reloc-diff.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153096.533122.patch
Type: text/x-patch
Size: 6704 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230621/49c61481/attachment.bin>


More information about the llvm-commits mailing list