Remove usages of asserting vector getters in Type in preparation for the
VectorType refactor. The existence of these functions complicates the
refactor while adding little value.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
LGTM!
clang/lib/CodeGen/CGBuiltin.cpp | ||
---|---|---|
5830–5831 | nit: Can you pull this into a separate variable so you only have to cast once? |
clang/lib/CodeGen/PatternInit.cpp | ||
---|---|---|
60 | It would make sense to fix this to use getScalarType(). |
nit: Can you pull this into a separate variable so you only have to cast once?
(possibly RTy can be re-used for this)