Reintroduces the scalable vector IR type from D32530, after it was reverted
a couple of times due to increasing chromium LTO build times. This latest
incarnation removes the walk over aggregate types from the verifier entirely,
in favor of rejecting scalable vectors in the isValidElementType methods in
ArrayType and StructType. This removes the 70% degradation observed with
the second repro tarball from PR42210.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM.
lib/IR/Verifier.cpp | ||
---|---|---|
700 | nit: you can use the Assert macro as a shorthand: |
nit: you can use the Assert macro as a shorthand:
Assert(!VTy->isScalable(), "Globals cannot contain scalable vectors", &GV);