aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2019-03-28 22:17:29 +0000
committerFlorian Hahn <flo@fhahn.com>2019-03-28 22:17:29 +0000
commit45682fd6332c07f03608d6609836f7107f6a5a44 (patch)
tree1c698fcad8f37a3bd881eace19de050b8d81e5e0 /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
parent45bd9b2567dbcc65ca233a3a88928ddb76b65156 (diff)
downloadllvm-45682fd6332c07f03608d6609836f7107f6a5a44.zip
llvm-45682fd6332c07f03608d6609836f7107f6a5a44.tar.gz
llvm-45682fd6332c07f03608d6609836f7107f6a5a44.tar.bz2
[LSR] Fix signed overflow in GenerateCrossUseConstantOffsets.
For the attached test case, unchecked addition of immediate starts and ends overflows, as they can be arbitrary i64 constants. Proof: https://rise4fun.com/Alive/Plqc Reviewers: qcolombet, gilr, efriedma Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D59218 llvm-svn: 357217
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions