Displaying 20 results from an estimated 120 matches similar to: "[LLVMdev] A potential bug in helper function "fieldFromInstruction" in tablegen'erated file "XXXGenDisassemblerTables.inc""
2014 Mar 03
1
Doubled Quotas on Ubuntu
Hi all,
I'm seeing doubled quotas on Windows 7 when connecting to Samba. By
doubled, I mean that if I set a 1GB group quota on Linux, I see a 2GB
quota on Windows 7. The quotas seem correct with Samba 3.6.19 running
on a Linux 2.6.32 kernel on Mandriva; they are incorrect with Samba
3.6.22 on a Linux 3.12 kernel on Ubuntu. What could be wrong?
In more detail, I'm testing on both a
2004 Oct 20
1
i-node showing 100 % used whereas the partitionsare empty
Hi Sunil,
I had filed a bug and saw your response stating that it would be fixed in version 14.
In the meanwhile , what we want to know is whether this bug is a minor bug and can be ignored for now.
Does reporting 100% inodes cause any problem for the OCFS file system or can we ignore this bug and go into production.
Also can you tell us by when version 14 would be released.
R'gds
2010 Apr 06
2
[PATCH] ocfs2/trivial: Code cleanup for allocation reservation.
Two tiny cleanup for allocation reservation.
1. Remove some extra codes in ocfs2_local_alloc_find_clear_bits.
2. Remove an unuseful variables in ocfs2_find_resv_lhs.
Cc: Mark Fasheh <mfasheh at suse.com>
Signed-off-by: Tao Ma <tao.ma at oracle.com>
---
fs/ocfs2/localalloc.c | 7 ++-----
fs/ocfs2/reservations.c | 2 --
2 files changed, 2 insertions(+), 7 deletions(-)
diff
2009 Jun 20
1
[LLVMdev] /include/llvm/Bitcode/BitstreamReader.h
Hello,
I'm compiling LLVM with MSVC at the moment, I've got the following
warning:
BitstreamReader.h(327) : warning C4334: '<<' : result of 32-bit
shift implicitly converted to 64 bits (was 64-bit shift intended?)
in line
uint64_t Piece = Read(NumBits);
if ((Piece & (1U << (NumBits-1))) == 0)
Is this warning relevant?
Is also Read64()
2018 Jun 02
2
LoopIdiomRecognize is not recognizing the ctpop idiom
Hello.
Could you please tell me why am I not able to recognize (with LLVM built from the SVN
code in Apr 25, 2018) the LLVM IR intrinsic ctpop (described at
https://llvm.org/docs/LangRef.html#llvm-ctpop-intrinsic) in the following program:
int PopCnt_Simple(int x) {
int numBits = 0;
int i;
//for (i = 0; i < 32; i++) {
for (i = 0; x !=
2007 Dec 15
2
[LLVMdev] fix warning with newer g++ compilers
Ok, here is the patch again... I also included fixes for the bits
that originally gave my mailer fits...
Two votes for orange, so I went with orange...
Doing diffs in .:
--- ./lib/AsmParser/LLLexer.cpp.~1~ 2007-12-14 22:09:06.000000000 -0800
+++ ./lib/AsmParser/LLLexer.cpp 2007-12-15 13:02:47.000000000 -0800
@@ -54,7 +54,7 @@ static uint64_t HexIntToVal(const char *
Result +=
2017 Oct 20
2
How to create a 64 bit ConstInt having a value of -1?
I tried the following:
- ConstantInt::get(Type::getInt64Ty(Ctx), APInt(0xFFFFFFFFFFFFFFFF, 64,
false))
- ConstantInt::get(Type::getInt64Ty(Ctx), APInt(-1, 64))
I am receiving the following error: Assertion `NumBits <= MAX_INT_BITS &&
"bitwidth too large" failed
--
Thanks & Regards,
Dipanjan
-------------- next part --------------
An HTML attachment was scrubbed...
2015 Jan 22
2
[LLVMdev] access IntegerType::getSignBit from Type *
Hi,
I have a Type * which may come from an IntegerType as shown below:
Type.getIntegerBitWidth() tells me numBits.
But how to extract the IntegerType.getSignBit?
If pType isIntegerType, I need to know if it is signed or unsigned...
How to achieve this?
Thx
Alex
llvm::Type * getRandomValid_IntegerType(llvm::LLVMContext &C)
{
using namespace llvm;
//--- determine num of bits
2017 Nov 30
2
PPC64 Disassembler
> But where is the flat set? Maybe I can debug and check what is going on.
The MCInstrDesc are in a table in lib/Target/PowerPC/PPCGenInstrInfo.inc
of your build directory.
> Some additional information:
>
> MCInst opcode: 0x7cb
> Decode Index: 0x1e
I had assumed this would have dissembled to '// Inst #234 = BC' which does
have the branch flag set, but I think that
2009 Jul 25
0
[LLVMdev] Bug in ExecutionEngine::getConstantValue() -- Instruction::PtrToInt
Aaron Gray wrote:
> I think I might have found a bug in the exection engine's 'constants
> folding'.
>
> Basically APInt's parameters are the wrong way round.
>
> Line 577 for lib/ExecutionEngine/ExecutionEngine.cpp :-
>
> case Instruction::PtrToInt: {
> GenericValue GV = getConstantValue(Op0);
> uint32_t PtrWidth =
2009 Nov 18
0
[LLVMdev] Information generated by Bugpoint
Hi Nan Zhu,
> I use Bugpoint to check it , Bugpoint gives me the following information:
>
>
> Read input file : 'bodytrack.bc'
> *** All input ok
> Initializing execution environment: Found gcc: /usr/lib/ccache/gcc
> Running the code generator to test for a crash: <cbe>*** Debugging code
> generator crash!
>
> Error running tool:
>
2010 Jun 23
1
FLAC StreamInfo Parsing
Oops. I proofread my email a little too late. I corrected the
example. Hopefully what I am suggesting is clear.
Brian Willoughby
Sound Consulting
On Jun 22, 2010, at 22:15, Brian Willoughby wrote:
> What you need to do is write a bitStream function. It should only
> read each byte from the stream once and completely deal with all 8
> bits before reading the next byte. You
2011 Sep 06
2
[LLVMdev] bitwise AND
Hi,
I want to compute the bitwise 'and' between two values of type int1: %x = and %a, %b .
Which is the LLVM instruction that creates this? I only found the APInt class, whose constructor is:
APInt(unsigned numBits, uint64_t val, bool isSigned = false)
and which provides the bitwise AND operation:
APInt llvm::APIntOps::And (const APInt &LHS, const APInt &RHS)
Bitwise
2017 Nov 30
2
PPC64 Disassembler
The `isBranch` flag is already set on the branch instructions. Furthermore,
we do use the `isBranch()` query in a few places in the PPC back end, so
this does work. Perhaps there's something specific about the lldb usage? Is
it somehow possible that the `isBranch()` query is called on the wrong
instruction?
Would you be able to provide a test case that reproduces the issue?
On Thu, Nov 30,
2013 Apr 30
3
[LLVMdev] A simpler method to reject undefined encodings
Hello.
Sometimes the constraints imposed on an instruction's encoding are too
complex to be described in tablegen alone. In such cases a custom decoder
method is implemented. This makes sense when the decoding itself is very
complex, but it is wasteful to do it only when checking
additional constraints. This is because:
1. a custom decoder method has to decode operands, set opcodes, etc. -
2009 Nov 18
4
[LLVMdev] Information generated by Bugpoint
Hi,all
I ran my generated whole-program bitcode file which performs as a bodytrack
tool, it can give me the right result but with a stack dump before it exsits
Update Error : Model observation failed for time : 1
Error loading observation data
terminate called after throwing an instance of 'std::bad_cast'
what(): std::bad_cast
0 lli 0x08b713d2
1 lli 0x08b71247
2009 Jan 15
0
[PATCH] ocfs2: return f_fsid info in ocfs2_statfs(), v2
Currently f_fsid of struct kstatfs returned from ocfs2_statfs() is undefined (vfs layer fills 0 as
default). Since in some conditions, f_fsid value might be used as (f_fsid, ino) pair to
uniquely identify a file, ocfs2 should return a unique defined f_fsid value from ocfs2_statfs().
This patch uses uuid_hash as a unique ID to initiate f_fsid value, the 32bits width is enough for
ocfs2 membership
2009 Jan 15
0
[PATCH] ocfs2: return f_fsid info in ocfs2_statfs(), v3
Currently f_fsid of struct kstatfs returned from ocfs2_statfs() is undefined (vfs layer fills 0 as
default). Since in some conditions, f_fsid value might be used as (f_fsid, ino) pair to
uniquely identify a file, ocfs2 should return a unique defined f_fsid value from ocfs2_statfs().
This patch uses uuid_hash as a unique ID to initiate f_fsid value. The 32bits width is enough for
ocfs2 membership
2010 Jun 23
0
FLAC StreamInfo Parsing
On Jun 22, 2010, at 21:27, Ilia Ternovich wrote:
> Thank you very much! But how to deal with endianness in the case of
> bit stream? Some blocks (for example MinBlockSize) require 16bits
> (simply swap first and second), some block (e.g.MinFrameSize) require
> 3 byte-array to be reverted.
>
> Finally totalSamples is stored in 5 bytes ( only last 4 bits from
> first one byte
2009 Jan 16
2
[PATCH] ocfs2: return f_fsid info in ocfs2_statfs(), v4
Currently f_fsid of struct kstatfs returned from ocfs2_statfs() is undefined (vfs layer fills 0 as
default). Since in some conditions, f_fsid value might be used as (f_fsid, ino) pair to
uniquely identify a file, ocfs2 should return a unique defined f_fsid value from ocfs2_statfs().
Because uuid_str is identified no mater on big or litlle endian machine, it's also endian consistent
to use