[all-commits] [llvm/llvm-project] c47905: [CGP] Ensure address offset is representable as in...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Fri May 22 09:13:28 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c479052a74b204071902c5290059de0f2365db47
https://github.com/llvm/llvm-project/commit/c479052a74b204071902c5290059de0f2365db47
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2020-05-22 (Fri, 22 May 2020)
Changed paths:
M llvm/lib/CodeGen/CodeGenPrepare.cpp
A llvm/test/CodeGen/X86/pr46004.ll
Log Message:
-----------
[CGP] Ensure address offset is representable as int64_t
AddressingModeMatcher::matchAddr was calling getSExtValue for a constant before ensuring that we can actually represent the value as int64_t
Fixes PR46004 / OSSFuzz#22357
More information about the All-commits
mailing list