Displaying 20 results from an estimated 100 matches similar to: "[LLVMdev] tblgen bug in handling case , switch_on"
2009 Sep 05
0
[LLVMdev] tblgen bug in handling case , switch_on
Sanjiv Gupta wrote:
> Hi Mikhail,
>
> What is mentioned in the reference manual is this:
>
> // Evaluates to "cmdline1" if the option "-A" is provided on the
> // command line; to "cmdline2" if "-B" is provided;
> // otherwise to "cmdline3".
>
> (case
> (switch_on "A"),
2009 Sep 05
3
[LLVMdev] tblgen bug in handling case , switch_on
Hi,
On Sat, Sep 5, 2009 at 9:12 PM, Sanjiv Gupta<sanjiv.gupta at microchip.com> wrote:
> Is the patch below ok?
>
> Index: LLVMCConfigurationEmitter.cpp
> ===================================================================
> --- LLVMCConfigurationEmitter.cpp (revision 80668)
> +++ LLVMCConfigurationEmitter.cpp (working copy)
> @@ -1141,6 +1141,7 @@
>
2009 Sep 06
2
[LLVMdev] tblgen bug in handling case , switch_on
Hi Sanjiv,
On Sun, Sep 6, 2009 at 8:07 PM, Mikhail
Glushenkov<the.dead.shall.rise at gmail.com> wrote:
> [...]
[Sorry, the formatting was a bit off]
> The following snippet gives the expected behaviour (not tested, but
> you should get the idea):
(case
(switch_on "O0"),
(append_cmd "-disable-opt"),
(or (and (switch_on "O1")
2009 Sep 10
4
[LLVMdev] tblgen bug in handling case , switch_on
Mikhail Glushenkov wrote:
> Hi Sanjiv,
>
> On Sun, Sep 6, 2009 at 8:13 PM, Mikhail
> Glushenkov<the.dead.shall.rise at gmail.com> wrote:
>
>> Hi Sanjiv,
>>
>> On Sun, Sep 6, 2009 at 8:07 PM, Mikhail
>> Glushenkov<the.dead.shall.rise at gmail.com> wrote:
>>
>>> [...]
>>>
>> [Sorry, the formatting was a
2009 Sep 10
0
[LLVMdev] Fwd: tblgen bug in handling case , switch_on
Hi,
On Thu, Sep 10, 2009 at 7:26 AM, Sanjiv Gupta
<sanjiv.gupta at microchip.com> wrote:
>
>> Another way would be to include a "break" command, to take you after the
>> default label.
Yes, this can be useful. I think we should add both 'break' and a
'match' form, and make 'match' the only one allowed in the cmd_line
property. This will make
2009 Sep 11
1
[LLVMdev] tblgen bug in handling case , switch_on
Mikhail Glushenkov wrote:
> Hi,
>
> On Thu, Sep 10, 2009 at 8:01 PM, Sanjiv Gupta
> <sanjiv.gupta at microchip.com> wrote:
>
>> Why do we need both 'conflict' and 'warning' ?
>>
>
> 'warning' just prints a warning, 'conflict' is a fatal error.
>
> A better example would be something like:
>
> (warning (and
2009 Dec 08
0
[LLVMdev] More questions on CompilerDriver.
Hi Sanjiv,
On Tue, Dec 8, 2009 at 4:41 AM, Sanjiv Gupta <sanjiv.gupta at microchip.com> wrote:
> Mikhail Glushenkov wrote:
>>
>> > 2. Is there anyway to call a C++ hook from inside actions?
>> > for example
>> > (actions (case
>> > (not_empty "Wl,"), (append_cmd "$CALL(Myhook)" )))
>>
>> Not yet, this is
2009 Dec 08
2
[LLVMdev] More questions on CompilerDriver.
Mikhail Glushenkov wrote:
>
> > 2. Is there anyway to call a C++ hook from inside actions?
> > for example
> > (actions (case
> > (not_empty "Wl,"), (append_cmd "$CALL(Myhook)" )))
>
> Not yet, this is something I'm working on right now.
>
Hi Mikhail,
Did you get a chance to do something about this?
>
>
> BTW, I've
2009 Sep 06
0
[LLVMdev] tblgen bug in handling case , switch_on
Hi Sanjiv,
On Sun, Sep 6, 2009 at 8:13 PM, Mikhail
Glushenkov<the.dead.shall.rise at gmail.com> wrote:
> Hi Sanjiv,
>
> On Sun, Sep 6, 2009 at 8:07 PM, Mikhail
> Glushenkov<the.dead.shall.rise at gmail.com> wrote:
>> [...]
>
> [Sorry, the formatting was a bit off]
>
>> The following snippet gives the expected behaviour (not tested, but
>> you
2010 Apr 23
1
Path simple menu integrated progress indicator
This patch modifies the simple menu com32 program to include integrated load progress. It also adds new options to the simple menu configuration
MENU LOADMSG -- allows the user to specify the text to display when loading
MENU LOADMSGROW -- controls where the text is written
Example configuration:
MENU LOADMSG Booting
MENU LOADMSGROW 25
It works with my setup, please let me know if you find
2009 Sep 11
0
[LLVMdev] tblgen bug in handling case , switch_on
Hi,
On Fri, Sep 11, 2009 at 11:46 AM, Sanjiv Gupta
<sanjiv.gupta at microchip.com> wrote:
>
> Looks good.
> One more quick query.
> How to extract libname from "-l std" from the driver and pass it as
> "std.lib" to the linker tool?
> I know that unpack_values will give me "std", but an (append_cmd ".lib")
> with that will insert
2009 Sep 13
1
[LLVMdev] tblgen bug in handling case , switch_on
Mikhail Glushenkov wrote:
> Hi,
>
> On Fri, Sep 11, 2009 at 11:46 AM, Sanjiv Gupta
> <sanjiv.gupta at microchip.com> wrote:
>
>> Looks good.
>> One more quick query.
>> How to extract libname from "-l std" from the driver and pass it as
>> "std.lib" to the linker tool?
>> I know that unpack_values will give me
2009 Mar 30
2
[LLVMdev] llvmc issues on x86_32
According to the FAQ llvmc is considered experimental/unsupported. But
FWIW, here's an issue I found while trying to use it on 32 bit x86 systems.
tools/llvmc/plugins/Base/Base.td hardcodes the -relocation-model=pic
option into invocations of llc:
def llc : Tool<
[(in_language "llvm-bitcode"),
(out_language "assembler"),
(output_suffix "s"),
(cmd_line
2008 Jun 03
2
[LLVMdev] #include problem
Hi,
On Fedora 9 GCC 4.3,
LLVMCConfigurationEmitter.cpp needs #include <typeinfo>.
ValueTracking.cpp needs #include <cstring>.
Thanks.
--Zhongxing Xu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080603/38f917f4/attachment.html>
2009 Feb 24
5
[LLVMdev] [llvm-commits] remove libtool from build system
For those of you who haven't noticed, I'm planning to commit a major
change to the Makefile rules tomorrow evening (Tuesday) if there are no
complaints about it between now and then.
This needs testing on Darwin. I've heard back from Linux on many
platforms and even FreeBSD, which is fantastic, but I'm told that lots
of LLVMers are running Darwin and I haven't heard a peep
2008 Dec 05
2
[LLVMdev] Build errors on trunk for about a week now.
On Fri, Dec 5, 2008 at 1:52 PM, OvermindDL1 <overminddl1 at gmail.com> wrote:
> / * snip */
Actually, rebuilding it makes "debug tblgen" fail with the errors at
the end of this email, and as such everything that depends on it, how
odd...
When I get back to that computer then I will clean its directory,
update from SVN (please fix the const thing soon :) ), and rebuild
fresh...
2008 Jun 04
0
[LLVMdev] #include problem
On Jun 3, 2008, at 6:48 AM, Zhongxing Xu wrote:
> Hi,
>
> On Fedora 9 GCC 4.3,
>
> LLVMCConfigurationEmitter.cpp needs #include <typeinfo>.
> ValueTracking.cpp needs #include <cstring>.
Fixed, thanks:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20080602/063303.html
-Chris
2009 Feb 24
0
[LLVMdev] [llvm-commits] remove libtool from build system
On OS X 10.5.5 I get an error that ld doesn't support -export-dynamic:
dhcp-172-19-103-185:~/src/llvm/trunk_nolibtool/obj jyasskin$
../src/configure --prefix=`pwd`/../install && make VERBOSE=1
...
dhcp-172-19-103-185:~/src/llvm/trunk_nolibtool/obj jyasskin$ make VERBOSE=1
for dir in lib/System lib/Support utils lib/VMCore lib
tools/llvm-config tools docs; do \
if [ ! -f
2008 Dec 05
0
[LLVMdev] Build errors on trunk for about a week now.
On Fri, Dec 5, 2008 at 1:57 PM, OvermindDL1 <overminddl1 at gmail.com> wrote:
> On Fri, Dec 5, 2008 at 1:52 PM, OvermindDL1 <overminddl1 at gmail.com> wrote:
>> / * snip */
>
> Actually, rebuilding it makes "debug tblgen" fail with the errors at
> the end of this email, and as such everything that depends on it, how
> odd...
> When I get back to that
2010 Oct 02
2
[LLVMdev] tblgen(75451) malloc: *** error for object 0x7fff5fbfcbd0: pointer being reallocated was not allocated
Current llvm release 2.8 branch at r115409 is broken on x86_64-apple-darwin10.
#!/bin/bash -ev
export LD=`xcode-select -print-path`/usr/bin/ld
xcode-select -print-path
ulimit -s `ulimit -s`
ulimit -s
mv ../clang-2.8 ./tools/clang
mkdir ../llvm_objdir
cd ../llvm_objdir
../llvm-2.8/configure --prefix=/sw --prefix=/sw --mandir=/sw/share/man --infodir=/sw/share/info --with-gmp=/sw