[PATCH] D73907: [InstCombine] correct operands of shouldChangeType() for casted phi transform

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 8 02:09:37 PST 2020


mstorsjo added a comment.

This causes failed asserts for me. With https://martin.st/temp/substtml-preproc.c, built with `clang -target i686-w64-mingw32 -c -O2 substtml-preproc.c`, I'm getting this:

  clang: ../include/llvm/Support/Alignment.h:384: llvm::Align llvm::operator/(llvm::Align, uint64_t): Assertion `Lhs != 1 && "Can't halve byte alignment"' failed.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D73907





More information about the llvm-commits mailing list