The only valid values for the scale immediate of scatter/gather builtins are 1, 2, 4, or 8. This patch enforces this in the frontend otherwise we generate invalid instruction encodings in the backend.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM,
Could you please add test that check scale and hint parameter errors for BI__builtin_ia32_gatherpfdpd for example.