[PATCH] D79914: [CodeGen][NFC] Fix test/CodeGen/pr45476.cpp to specify target triple.

2020-05-13 Thread Huihui Zhang via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rGfd842d362662: [CodeGen][NFC] Fix test/CodeGen/pr45476.cpp to specify target triple. (authored by huihuiz). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION

[PATCH] D79914: [CodeGen][NFC] Fix test/CodeGen/pr45476.cpp to specify target triple.

2020-05-13 Thread Huihui Zhang via Phabricator via cfe-commits
huihuiz created this revision. huihuiz added reviewers: efriedma, ekatz, rjmccall, rsmith, luismarques. huihuiz added a project: LLVM. Herald added subscribers: cfe-commits, jfb, kristof.beyls. Herald added a project: clang. Use explicit target triple to match more accurately the output for

[PATCH] D74386: [SVE] Update API ConstantVector::getSplat() to use ElementCount.

2020-03-12 Thread Huihui Zhang via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG118abf201738: [SVE] Update API ConstantVector::getSplat() to use ElementCount. (authored by huihuiz). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION

[PATCH] D74386: [SVE] Update API ConstantVector::getSplat() to use ElementCount.

2020-03-12 Thread Huihui Zhang via Phabricator via cfe-commits
huihuiz added inline comments. Comment at: llvm/lib/CodeGen/CodeGenPrepare.cpp:6542 -unsigned End = getTransitionType()->getVectorNumElements(); +auto EC = getTransitionType()->getVectorElementCount(); if (UseSplat) efriedma wrote: > Please write

[PATCH] D74386: [SVE] Update API ConstantVector::getSplat() to use ElementCount.

2020-03-12 Thread Huihui Zhang via Phabricator via cfe-commits
huihuiz updated this revision to Diff 250001. huihuiz marked 3 inline comments as done. huihuiz added a comment. Addressed review comments. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D74386/new/ https://reviews.llvm.org/D74386 Files:

[PATCH] D74386: [SVE] Update API ConstantVector::getSplat() to use ElementCount.

2020-02-13 Thread Huihui Zhang via Phabricator via cfe-commits
huihuiz updated this revision to Diff 244546. huihuiz marked 2 inline comments as done. huihuiz added a comment. Thanks Eli for the review! Add test cases to check for size query changes in ConstantExpr::getGetElementPtr(). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION

[PATCH] D74386: [SVE] Update API ConstantVector::getSplat() to use ElementCount.

2020-02-10 Thread Huihui Zhang via Phabricator via cfe-commits
huihuiz created this revision. huihuiz added reviewers: sdesmalen, efriedma, apazos, spatel, huntergr, willlovett. huihuiz added a project: LLVM. Herald added subscribers: cfe-commits, psnobl, rkruppe, hiraditya, tschuett. Herald added a project: clang. Support ConstantInt::get() and