diff options
author | Pawel Bylica <chfast@gmail.com> | 2016-09-13 21:55:41 +0000 |
---|---|---|
committer | Pawel Bylica <chfast@gmail.com> | 2016-09-13 21:55:41 +0000 |
commit | c397f0b2724643adbd945acf6f7197b61e74fdc4 (patch) | |
tree | 9edadf18f089417932a50bcb9e7489625db1a291 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 59f830530557f25ab6bda5cc5c1401ea127b6f4d (diff) | |
download | llvm-c397f0b2724643adbd945acf6f7197b61e74fdc4.zip llvm-c397f0b2724643adbd945acf6f7197b61e74fdc4.tar.gz llvm-c397f0b2724643adbd945acf6f7197b61e74fdc4.tar.bz2 |
[CodeGen] Fix invalid shift in mul expansion
Summary: When expanding mul in type legalization make sure the type for shift amount can actually fit the value. This fixes PR30354 https://llvm.org/bugs/show_bug.cgi?id=30354.
Reviewers: hfinkel, majnemer, RKSimon
Subscribers: RKSimon, llvm-commits
Differential Revision: https://reviews.llvm.org/D24478
llvm-svn: 281403
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions