Displaying 7 results from an estimated 7 matches for "instructinos".
2004 Jun 23
3
[LLVMdev] Linearscan allocator bug?
...;;
def IFEQ : Unknown<"if =0 goto">;
def IFNEQ : Unknown<"if <>0 goto">;
.....
Should this work?
> Also, if you haven't already, you might want to teach TargetInstrInfo
> that '=' is a move instruction (implement isMoveInstr), so instructinos
> like 'gr1 = gr1' will go away and you'll get coallescing. :)
BTW, is it possible to set some instruction flag, instead of overriding a
function? Something like:
let isMove = 1 in
def MOVE :.....
?
- Volodya
2004 Jun 23
0
[LLVMdev] Linearscan allocator bug?
..... aka add {}
Also, if you do 'tblgen target.td' it will spit out all of the records
to stdout so you can visually inspect them.
> > Also, if you haven't already, you might want to teach TargetInstrInfo
> > that '=' is a move instruction (implement isMoveInstr), so instructinos
> > like 'gr1 = gr1' will go away and you'll get coallescing. :)
>
> BTW, is it possible to set some instruction flag, instead of overriding a
> function? Something like:
>
> let isMove = 1 in
> def MOVE :.....
That would make sense, but no not currently....
2004 Jun 22
0
[LLVMdev] Linearscan allocator bug?
...#39;if <>0 goto LBB11;' things will
probably magically start working for you, as the copies will be inserted
BEFORE the branch instead of after it.
Also, if you haven't already, you might want to teach TargetInstrInfo
that '=' is a move instruction (implement isMoveInstr), so instructinos
like 'gr1 = gr1' will go away and you'll get coallescing. :)
-Chris
> I also attach the debug dumps from my backend.
>
> The basic block in question is shortcirc_done.1 (line 198 in the log). It
> starts with:
>
> %reg1060 = phi %reg1032, mbb<shortcirc_next.0...
2012 Oct 30
0
[LLVMdev] [RFC] Extend LLVM IR to express "fast-math" at a per-instruction level
...hat reassociation would
be valid even on non-constant values. It's not clear whether you meant to
contradict that here.
[...]
> -fp-contract=<value>
> I'm not too familiar with this option, but I recommend that 'all' turn
> on the
> 'F' bit for all FP instructinos, default do so when following the
> pragma, and
> off never doing so. This option should still be passed to the backend.
>
Please coordinate with Lang and others who have already done a fair amount
of work on FP_CONTRACT.
>
> (Optional)
> I propose adding the below flags:
>...
2012 Oct 29
11
[LLVMdev] [RFC] Extend LLVM IR to express "fast-math" at a per-instruction level
...g point instructions. If
this flag doesn't already cause clang to run llc with -enable-unsafe-fp-math,
then I propose that it does so as well.
-fp-contract=<value>
I'm not too familiar with this option, but I recommend that 'all' turn on the
'F' bit for all FP instructinos, default do so when following the pragma, and
off never doing so. This option should still be passed to the backend.
(Optional)
I propose adding the below flags:
-ffinite-math-only
Allow optimizations to assume that floating point arguments and results are
NaNs or +/-Inf. This may produce i...
2004 Jun 22
3
[LLVMdev] Linearscan allocator bug?
Folks,
I'm running into something which looks like a bug in linearscan allocator. Of
course I can't be 100% sure it's not some unobvious mistake on my part, so
I'd like to hear your opinion.
First, I attach two files -- LLVM asm and the asm for my target. The problem
with assembler is: on line 171 it uses register gr2, which is copied from gr6
above, on line 161. The only
2014 Nov 03
8
[LLVMdev] [PATCH] Protection against stack-based memory corruption errors using SafeStack
Dear LLVM developers,
Our team has developed an LLVM-based protection mechanism that (i) prevents
control-flow hijack attacks enabled by memory corruption errors and (ii)
has very low performance overhead. We would like to contribute the
implementation to LLVM. We presented this work at the OSDI 2014 conference,
at several software companies, and several US universities. We received
positive