diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-07-02 18:20:38 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-07-02 18:20:38 +0000 |
commit | 5613874947462fd4ceb4f66926c879269609463f (patch) | |
tree | 3d58b06b5417d39a772ce60a43031d4cab3b624e /llvm/lib/ExecutionEngine/ExecutionEngine.cpp | |
parent | 66ac6b409d5533ff5011af36242671481bd80977 (diff) | |
download | bcm5719-llvm-5613874947462fd4ceb4f66926c879269609463f.tar.gz bcm5719-llvm-5613874947462fd4ceb4f66926c879269609463f.zip |
[X86] getTargetConstantBitsFromNode - remove unnecessary getZExtValue() (PR42486)
Don't use APInt::getZExtValue() if you can avoid it - eventually someone will call it with i128 or something that doesn't fit into 64-bits.
In this case it was completely superfluous as we'd moved the rest of the code to always use APInt.
Fixes the <1 x i128> addition bug in PR42486
llvm-svn: 364953
Diffstat (limited to 'llvm/lib/ExecutionEngine/ExecutionEngine.cpp')
0 files changed, 0 insertions, 0 deletions