diff options
author | Duncan Sands <baldrick@free.fr> | 2007-11-28 10:36:19 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2007-11-28 10:36:19 +0000 |
commit | ff306287fffdc61a487057c18c7db63d4805cdc7 (patch) | |
tree | e2511e902bd0f5007ca02b43d02603495f9f4a9b /llvm/test/Transforms/LoopSimplify/phi-node-simplify.ll | |
parent | 45a0c3265faaf0fc28df23ec251cea4d8926145c (diff) | |
download | bcm5719-llvm-ff306287fffdc61a487057c18c7db63d4805cdc7.tar.gz bcm5719-llvm-ff306287fffdc61a487057c18c7db63d4805cdc7.zip |
My compiler complains that "x always evaluates to true"
in this call:
Result.IntVal = APInt(80, 2, x);
What is x?
uint16_t x[8];
I deduce that the APInt constructor being used is this one:
APInt(uint32_t numBits, uint64_t val, bool isSigned = false);
rather than this one:
APInt(uint32_t numBits, uint32_t numWords, const uint64_t bigVal[]);
That doesn't seem right! This fix compiles but is otherwise completely
untested.
llvm-svn: 44400
Diffstat (limited to 'llvm/test/Transforms/LoopSimplify/phi-node-simplify.ll')
0 files changed, 0 insertions, 0 deletions