search for: unaligned_load

Displaying 2 results from an estimated 2 matches for "unaligned_load".

Did you mean: unaligned_load64
2014 Aug 19
2
[LLVMdev] [RFC] Adding functions for unaligned load/store to Support for JIT/RuntimeDyld
...ndefined behavior, and UBSan reports errors when this happens. Even if we believe we're running some x86-specific code (e.g. RuntimeDyldELF::resolveX86_64Relocation) what matters for unaligned acceses in source code is the host architecture, not the target one. What do you think of adding T unaligned_load(const void *addr) void unaligned_store(void *addr, T value); to support headers? We can then provide the default memcpy implementations of these methods and, optionally, straightforward implementations for x86 hosts (and disable UBSan alignment checks for the latter). -- Alexey Samsonov vonosm...
2010 Oct 29
1
[LLVMdev] Unexpected Failure with 'make check'
...expected Failure' in the dejagnu testsuite with the Transforms/GVN/null-aliases-nothing.ll test. That test has the following checks: ; CHECK: load ; CHECK-NOT: load ; CHECK: ret void This check failed as I was working with unaligned loads, and had my SVN tree in the folder /home/kraiskil/llvm/unaligned_load/. opt puts that path into the ModuleID as a comment at the start of the output. This means that the CHECK:load matches the path in the comment, and the CHECK-NOT:load matches the load instruction the author intended. So which of the following is to blame? 1) FileCheck checks comments. 2) opt ins...