diff options
author | Juergen Ributzka <juergen@apple.com> | 2014-07-07 21:52:21 +0000 |
---|---|---|
committer | Juergen Ributzka <juergen@apple.com> | 2014-07-07 21:52:21 +0000 |
commit | 665ea71fcdd18fcc92761be00811217b542c1f02 (patch) | |
tree | ca7dda330a03d987ad0d3b0fc6bd53a5efcc7ded /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 4c5b4054b215cd66aaeca4485a3c24c4496b8a0e (diff) | |
download | llvm-665ea71fcdd18fcc92761be00811217b542c1f02.zip llvm-665ea71fcdd18fcc92761be00811217b542c1f02.tar.gz llvm-665ea71fcdd18fcc92761be00811217b542c1f02.tar.bz2 |
[FastISel][X86] Fix smul.with.overflow.i8 lowering.
Add custom lowering code for signed multiply instruction selection, because the
default FastISel instruction selection for ISD::MUL will use unsigned multiply
for the i8 type and signed multiply for all other types. This would set the
incorrect flags for the overflow check.
This fixes <rdar://problem/17549300>
llvm-svn: 212493
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions