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

Sergei Barannikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 16 00:34:14 PDT 2023


barannikov88 added a comment.

The logic below is quite difficult to follow. Displacement being negated twice on some code paths is very confusing.
Can it be simplified somehow? Possibly by more intrusive changes?
Otherwise LGTM.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153096



More information about the llvm-commits mailing list