[CodeGenTypes] Speed up getVectorElementType and getVectorMinNumElements (#95282)
Implement MVT::getVectorElementType and MVT::getVectorMinNumElements with table lookup instead of switch. This speeds up "check-llvm-codegen-amdgpu" by about 7% in my Release build.
parent
987b59ab
Please register or sign in to comment