[PATCH] D20319: [InstCombine] Fix assertion when bitcast is converted to gep

David Majnemer via llvm-commits llvm-commits at lists.llvm.org
Thu May 19 09:12:52 PDT 2016


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

LGTM


================
Comment at: test/Transforms/InstCombine/opaque.ll:1
@@ +1,2 @@
+; RUN: opt < %s -instcombine -disable-output
+; Checks that bitcasts are not converted into GEP when
----------------
I'd prefer if we made this a FileCheck test even though the input should approximately be it's output.  However, I don't feel particularly strongly about it.


http://reviews.llvm.org/D20319





More information about the llvm-commits mailing list