Commit b9826c10 authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

[CGP] Ensure address scaled offset is representable as int64_t

AddressingModeMatcher::matchScaledValue was calling getSExtValue for a constant before ensuring that we can actually represent the value as int64_t

Fixes OSSFuzz#22723 which is a followup to rGc479052a (PR46004 / OSSFuzz#22357)
parent 1f4ba66e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment