craig.topper updated this revision to Diff 549634.
craig.topper added a comment.
Revise coment, rename variable.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157651/new/
https://reviews.llvm.org/D157651
Files:
clang/lib/Sema/SemaChecking.cpp
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGee6befe26437: [RISCV] Rewrite CheckInvalidVLENandLMUL to
avoid floating point. (authored by craig.topper).
Changed prior to commit:
https://review
craig.topper created this revision.
craig.topper added reviewers: 4vtomat, kito-cheng, reames, asb.
Herald added subscribers: jobnoorman, VincentWu, vkmr, luismarques,
sameer.abuasal, s.egerton, Jim, benna, psnobl, rogfer01, shiva0217, simoncook,
arichardson.
Herald added a project: All.
craig.to
4vtomat accepted this revision.
4vtomat added a comment.
This revision is now accepted and ready to land.
LGTM, thanks!
Comment at: clang/lib/Sema/SemaChecking.cpp:4484
+ unsigned EGS = EGW / ElemSize;
+ // If EGS is more than our minimum number of elements we're done.
+ if