[PATCH] InstCombine: extract instead of shuffle when performing vector/array type punning
David Majnemer
david.majnemer at gmail.com
Wed Feb 18 13:38:26 PST 2015
================
Comment at: lib/Transforms/InstCombine/InstCombineVectorOps.cpp:993
@@ +992,3 @@
+ if (BitCastInst *BC = dyn_cast<BitCastInst>(U))
+ if (BC->hasNUsesOrMore(1))
+ // Only visit bitcasts that weren't previously handled.
----------------
Is this different from `!BC->use_empty()` ?
http://reviews.llvm.org/D7734
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list