[PATCH] D70844: [InstCombine] Fix big-endian miscompile of (bitcast (zext/trunc (bitcast)))

Bjorn Pettersson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 29 08:35:13 PST 2019


bjope updated this revision to Diff 231549.
bjope added a comment.

Realized it was stupid to use a temporary vector when it is possible to simply use append. So a yet another minor refactoring.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70844

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
  llvm/test/Transforms/InstCombine/cast.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70844.231549.patch
Type: text/x-patch
Size: 5661 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191129/4ccd45a2/attachment.bin>


More information about the llvm-commits mailing list