diff options
author | Tobias Grosser <tobias@grosser.es> | 2015-04-05 17:36:42 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2015-04-05 17:36:42 +0000 |
commit | eb18649ead0fbc23cfe59257884239d9e8a473a2 (patch) | |
tree | da513eee4a6b075ddbdbb805cf587c8b52ff5173 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 51c58cc769f52fb43be55821fa07b2b69d463213 (diff) | |
download | llvm-eb18649ead0fbc23cfe59257884239d9e8a473a2.zip llvm-eb18649ead0fbc23cfe59257884239d9e8a473a2.tar.gz llvm-eb18649ead0fbc23cfe59257884239d9e8a473a2.tar.bz2 |
Sign-extend in case of non-matching bitwidth
This change ensures that we sign-extend integer types in case non-matching
operands are encountered when generating a multi-dimensional access offset.
This fixes http://llvm.org/PR23124
Reported-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
llvm-svn: 234122
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions