[PATCH] D89454: Fix unused variable warning when compiling with asserts disabled.

Benjamin Kramer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 15 03:53:58 PDT 2020


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

The code now essentially says

  if (OldMO.isDef())
    assert(OldMO.isDef())

Which seems redundant. But I guess getting rid of the warning is fine.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89454



More information about the llvm-commits mailing list