Displaying 20 results from an estimated 2000 matches similar to: "Over-alignment of globals?"
2017 Jul 06
2
MSP430 code generation from LLVM IR
On Thu, Jul 6, 2017 at 2:19 AM, Tim Northover <t.p.northover at gmail.com>
wrote:
> On 5 July 2017 at 17:51, Luís Marques via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
> > Cool. When I did that on macOS, LDC generated a lot of complaints,
> possibly
> > because it is assuming mach-o files. I tried changing from
> -mtriple=msp430
> > to
2017 Jul 05
3
MSP430 code generation from LLVM IR
Hello,
While trying to find out why the LDC compiler refuses to generate object
code for MSP430 targets (but generates MSP430 assembly or LLVM IR/bitcode),
I came across the following apparent inconsistency.
This works:
$ clang --target=msp430 -c test.c
This doesn't work:
$ clang --target=msp430 -S -emit-llvm test.c
$ llc -filetype=obj test.ll
/opt/msp430/bin/llc: target does not support
2017 Jul 06
2
MSP430 code generation from LLVM IR
On Thu, Jul 6, 2017 at 1:35 AM, Nicholas Wilson <
iamthewilsonator at hotmail.com> wrote:
> Luís, try using the -no-integrated-as flag to execute the assembler for
> you.
> We should probably make that the default for MSP430.
>
Cool. When I did that on macOS, LDC generated a lot of complaints, possibly
because it is assuming mach-o files. I tried changing from -mtriple=msp430
2008 Sep 17
1
[LLVMdev] link bytecode files into a native executable with debug info
Hello,
If you have one or more bytecode files with debug info, how do you
generate a native executable still with debug info?
I tried, for instance, this:
llvm-ld -native -disable-opt -o exec file1.bc file2.bc
but it doesn't seem to work.
Thanks,
Luís
2020 Apr 02
2
lli cannot execute the bc file for RISCV, Unable to find target for this triple
*llvm-project version:dd8a2013dc1804be1b7d9cffacad2e984300bd22*
*Instructons to build LLVM+clang:*
```
cmake -G Ninja
-DCMAKE_INSTALL_PREFIX=/home/llvm/workspace/llvm/llvm-project/llvm_install
-DCMAKE_BUILD_TYPE="Release"
-DDEFAULT_SYSROOT="/home/llvm/workspace/riscv/riscv-tc-20200220/bin/riscv32-unknown-elf"
2012 May 23
8
Engine's Application Controller
Hi,
I''ve been using rails 3 engines and (at least in my experience) the engine''s application controller is overidden by the app''s application controller. Wouldn''t it be better if the app would just load on top of the engine?
I mean that if an engine''s application controller has methods or anything else that does not collide with the stuff defined
2011 Oct 04
9
Postgresql adapter not working
Hello everyone. I''m starting with Rails going through the obvious
"Getting Started with Rails" guide:
http://guides.rubyonrails.org/getting_started.html
Everything goes smoothly until the rake db:create command, which
returns this strange error message referring to a gem that apparently
doesn''t exist:
Please install the postgresql adapter: `gem install activerecord-
2010 Jun 02
14
ARP problems with xen 4.0 with pvops kernel
Hello,
Finally I managed to get a xen 4.0 working on ubuntu 10.04 with pvops
kernel and libvirt. However I am having some problems with networking...
after initial installation with netinstall image in hvm mode, when I
transform the vm in xen pv (via pygrub with the current ubuntu kernel),
networking startEd to act weird...
Basically I''m not using a network script from xen. I define a
2010 Jun 02
14
ARP problems with xen 4.0 with pvops kernel
Hello,
Finally I managed to get a xen 4.0 working on ubuntu 10.04 with pvops
kernel and libvirt. However I am having some problems with networking...
after initial installation with netinstall image in hvm mode, when I
transform the vm in xen pv (via pygrub with the current ubuntu kernel),
networking startEd to act weird...
Basically I''m not using a network script from xen. I define a
2020 Jan 02
6
error in building llvm with default options
hello,
I am trying to build LLVM with default options. I am getting the following
error message after make.
[100%] Building C object
tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/metadata.c.o
[100%] Building C object
tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/module.c.o
[100%] Building C object
tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/object.c.o
[100%] Building C object
2020 Nov 18
2
[AssumeBundles] ValueTracking cannot use alignment assumptions?
Hello,
As I can see, recently LLVM switched to using assume bundles to encode alignment information: https://reviews.llvm.org/rG78de7297abe2e8fa782682168989c70e3cb34a5c
However, it seems that the ValueTracking cannot understand the new format. As an example, consider compilation of the following reproducer with clang-11 (old assume format) and clang-trunk (assume bundles):
#include
2012 Sep 05
2
Partials and helpers
Hi,
Is there any reason why helpers cannot render partials?
I would like to do something like this in the layout:
<body>
<%= magic_header %>
<%= yield %>
</body>
and then have a magic_header helper
def magic_helper
...do some magic...
render partial: "magic_helper"
end
Why is this wrong?
Cumprimentos,
Luís Ferreira
--
You received this
2011 Feb 25
4
Comparing snapshots?
Hi,
for a backup program I have to find all differing files
(including metadata) in two snapshots taken from the same
subvolume.
Having looked at the find-new command I thought about this
process:
1. Get the two transids when the two snapshots were created.
2. Query modifications to the original subvolume between the two
transids.
Is the general process corrent or have I overseen
2010 Jun 22
2
domU can not start in Xen 4.0.1-rc3-pre using tapdisk
The domU is using pygrub to boot its own 2.6.18.8-xen kernel. It can be
booted successfully under 2.6.18.8-xen dom0 and xen 3.3.1.
However when upgrade dom0 to 2.6.32.15 and xen 4.0.1-rc3-pre, the domU can
not boot with tapdisk. I am wondering it is something related to the blktap
driver.
*When using tap:aio:* PATH/disk.img in domU disk configuration, the boot
process hanged at a prompt:
XENBUS:
2010 Jun 22
2
domU can not start in Xen 4.0.1-rc3-pre using tapdisk
The domU is using pygrub to boot its own 2.6.18.8-xen kernel. It can be
booted successfully under 2.6.18.8-xen dom0 and xen 3.3.1.
However when upgrade dom0 to 2.6.32.15 and xen 4.0.1-rc3-pre, the domU can
not boot with tapdisk. I am wondering it is something related to the blktap
driver.
*When using tap:aio:* PATH/disk.img in domU disk configuration, the boot
process hanged at a prompt:
XENBUS:
2018 Jan 25
2
Problems getting nouveau to work with either Geforce GT710 or Geforce 9800GT on ARM Cortex-A9
On Thu, Jan 25, 2018 at 8:47 AM, Luís Mendes <luis.p.mendes at gmail.com> wrote:
> Sorry for alI these individual emails, but I think is more readable
> this way, by having each independent information in a separate email.
>
> I also have these additional cards that I can try: Gefoce GT 1030 and
> Geforce GTX 1050 Ti.
>
> I have tried Geforce GT 1030 and it is working
2019 Oct 31
2
llvm emits unoptimized code
On Thu, Oct 31, 2019 at 11:17 AM Jorg Brown via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> On Thu, Oct 31, 2019 at 8:50 AM kamlesh kumar via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>> Hi Devs,
>> Consider testcase here
>> https://godbolt.org/z/qHZzqw
>> When optimization is O1 or above it produces unoptimized code
>> because it
2020 Jan 16
7
[RFC] Upstream development of support for yet-to-be-ratified RISC-V extensions
# Overview and background
RISC-V is a free and open instruction set architecture. It is a modular
specification, with a range of standard extensions (e.g. floating point,
atomics, etc). New standard extensions are developed through RISC-V
Foundation working groups. The specifications for such extensions (e.g. vector
and bit manipulation) are publicly available, but are still in flux and won't
2020 Feb 03
3
Questions about jump threading optimization and what we can do
Hm. I assumed that JumpThreading would be the primary factor in optimizing
code like this. Guess not. I'll need to look into SimplifyCFG to see what
prevents it from doing the same thing to the other loop:
https://godbolt.org/z/F6NjdG
On Mon, Feb 3, 2020 at 3:09 PM Michael Kruse <llvmdev at meinersbur.de> wrote:
> I assumed the LLVM-IR behind the godbolt link represented the C code
2020 Feb 03
2
Questions about jump threading optimization and what we can do
I am not convinced this is a jump-threading issue, but in the domain
of ScalarEvolution. ScEv would need to find out which of the exits are
taken or whether it loops infinitely. One can see that it exits after
10000 iterations, but ScalarEvolution cannot tell:
https://godbolt.org/z/dCqdvv
Michael
Am Mo., 3. Feb. 2020 um 11:56 Uhr schrieb Karl Rehm <klrehm123 at gmail.com>:
>
> Well