hanchenye-llvm-project/llvm/lib
Duncan Sands ff306287ff 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
2007-11-28 10:36:19 +00:00
..
Analysis Fix PR1146: parameter attributes are longer part of 2007-11-27 13:23:08 +00:00
Archive
AsmParser Fix PR1146: parameter attributes are longer part of 2007-11-27 13:23:08 +00:00
Bitcode Unbreak backwards compatibility with bytecode format. Regression 2007-11-27 17:48:06 +00:00
CodeGen Add missing newlines at EOF. 2007-11-28 10:13:38 +00:00
Debugger
ExecutionEngine My compiler complains that "x always evaluates to true" 2007-11-28 10:36:19 +00:00
Linker Fix PR1146: parameter attributes are longer part of 2007-11-27 13:23:08 +00:00
Support Fix PR1816, by correcting the broken definition of APInt::countTrailingZeros. 2007-11-23 22:42:31 +00:00
System This change does a couple of things. First it gets the Visual Studio builds working. 2007-11-21 00:37:56 +00:00
Target several entries got significantly better, though they still aren't done. 2007-11-27 22:41:52 +00:00
Transforms Fix PR1146: parameter attributes are longer part of 2007-11-27 13:23:08 +00:00
VMCore Fix PR1146: parameter attributes are longer part of 2007-11-27 13:23:08 +00:00
Makefile