hanchenye-llvm-project/llvm/test/Transforms/NaryReassociate
Jingyue Wu ba3ca76ed2 [NaryReassociate] allow candidate to have a different type
Summary:
If Candiadte may have a different type from GEP, we should bitcast or
pointer cast it to GEP's type so that the later RAUW doesn't complain.

Added a test in nary-gep.ll

Reviewers: tra, meheff

Subscribers: mcrosier, llvm-commits, jholewinski

Differential Revision: http://reviews.llvm.org/D15618

llvm-svn: 256035
2015-12-18 21:36:30 +00:00
..
NVPTX [NaryReassociate] allow candidate to have a different type 2015-12-18 21:36:30 +00:00
nary-add.ll [NaryReassociate] Improve test CHECK 2015-09-16 05:27:46 +00:00
nary-mul.ll [NaryReassociate] Improve test CHECK 2015-09-16 05:27:46 +00:00
pr24301.ll [NaryReassociate] SeenExprs records WeakVH 2015-10-01 03:51:44 +00:00