diff options
author | Hal Finkel <hfinkel@anl.gov> | 2017-04-11 02:03:17 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2017-04-11 02:03:17 +0000 |
commit | cef9e52736f9dd886a22696d26a86121d31e6cf2 (patch) | |
tree | 37c0178c723d2650524e77543a24c6e2b7474ec4 /llvm/lib/IR/Module.cpp | |
parent | dcad8bf00eedf7350204d4bf9eeef3a7c13940e6 (diff) | |
download | llvm-cef9e52736f9dd886a22696d26a86121d31e6cf2.zip llvm-cef9e52736f9dd886a22696d26a86121d31e6cf2.tar.gz llvm-cef9e52736f9dd886a22696d26a86121d31e6cf2.tar.bz2 |
[PowerPC] multiply-with-overflow might use the CTR register
Check the legality of ISD::[US]MULO to see whether
Intrinsic::[us]mul_with_overflow will legalize into a function call (and, thus,
will use the CTR register). Fixes PR32485.
Patch by Tim Neumann!
Differential Revision: https://reviews.llvm.org/D31790
llvm-svn: 299910
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions