[PATCH] D155461: [InstCombine] Preserve metadata when combining select+binop

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 19 03:26:47 PDT 2023


nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/test/Transforms/InstCombine/select_meta.ll:319
 
 ; TODO: The metadata should be preserved.
 define i64 @select_add(i1 %cond, i64 %x, i64 %y) {
----------------
Drop the TODOs.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155461



More information about the llvm-commits mailing list