[PATCH] D83360: [InstSimplify] Remove select ?, undef, X -> X and select ?, X, undef -> X

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 15 17:36:55 PDT 2020


aqjune added a comment.

In D83360#2154584 <https://reviews.llvm.org/D83360#2154584>, @echristo wrote:

> It's that even before the msan instrumentation the IR doesn't look correct - thus a miscompile.


I'll share a prototype of the InstSimplify patch on Phabricator, in a day or two; it would be great if the miscompilation is fixed with the patch.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D83360





More information about the llvm-commits mailing list