[PATCH] D14479: Fix bug 25440: GVN assertion after coercing loads

Weiming Zhao via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 9 13:35:38 PST 2015


weimingz updated this revision to Diff 39746.
weimingz added a comment.

This patch is just for review purpose. It only handles the cases in GetLoadValueForLoad(). 
If the fix is right, I can apply it to other routines like CoerceAvailableValueToLoadType


http://reviews.llvm.org/D14479

Files:
  lib/Transforms/Scalar/GVN.cpp
  test/Transforms/GVN/pr25440.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14479.39746.patch
Type: text/x-patch
Size: 4003 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151109/30a31116/attachment.bin>


More information about the llvm-commits mailing list