Displaying 5 results from an estimated 5 matches for "loweratomic".
2014 Mar 08
2
[LLVMdev] Is LowerInvoke's "-enable-correct-eh-support" option unused?
On 6 March 2014 18:09, Mark Seaborn <mseaborn at chromium.org> wrote:
> LowerAtomic "lowers atomic intrinsics to non-atomic form for use in a
> known non-preemptible environment". LowerInvoke strips out exception
> handling by converting invokes to calls, so that landingpads, resumes, etc.
> become dead and can be removed by a later pass.
>
> (As an aside...
2014 Mar 04
9
[LLVMdev] Upstreaming PNaCl's IR simplification passes
...o write targeted tests for.
The code for these passes can be found here:
https://chromium.googlesource.com/native_client/pnacl-llvm/+/master/lib/Transforms/NaCl/
There seems to be plenty of precedent for IR-to-IR lowering passes -- LLVM
already contains passes such as LowerInvoke, LowerSwitch and LowerAtomic.
The PNaCl team (which I'm a member of) is happy to take on the work of
maintaining this code, such as updating it as LLVM IR evolves and doing
code reviews. We would upstream this gradually, pass by pass, so the
changes would be manageable.
Cheers,
Mark
[1] https://github.com/kripken/emscr...
2014 Mar 05
4
[LLVMdev] Upstreaming PNaCl's IR simplification passes
...(i.e. potential
future contributors), where any potential performance loss is acceptable
for the sake of simplifying things.
>
>
>> There seems to be plenty of precedent for IR-to-IR lowering passes --
>> LLVM already contains passes such as LowerInvoke, LowerSwitch and
>> LowerAtomic.
>>
>
> Note that these are quite different -- they lower from a front-end
> convenient form toward the canonical IR form. You are talking about
> something totally different that deals with target-oriented lowering. The
> correct place to look for analogies is CodeGenPrep.
>...
2014 Mar 07
3
[LLVMdev] [RFC] Add second "failure" AtomicOrdering to cmpxchg instruction
...: atomic128_cas_acq_rel
@@ -1916,7 +1916,7 @@ entry:
define void @atomic128_cas_seq_cst(i128* %a) nounwind uwtable {
entry:
- cmpxchg i128* %a, i128 0, i128 1 seq_cst
+ cmpxchg i128* %a, i128 0, i128 1 seq_cst seq_cst
ret void
}
; CHECK: atomic128_cas_seq_cst
diff --git a/test/Transforms/LowerAtomic/atomic-swap.ll b/test/Transforms/LowerAtomic/atomic-swap.ll
index 4331677..c319834 100644
--- a/test/Transforms/LowerAtomic/atomic-swap.ll
+++ b/test/Transforms/LowerAtomic/atomic-swap.ll
@@ -3,7 +3,7 @@
define i8 @cmpswap() {
; CHECK-LABEL: @cmpswap(
%i = alloca i8
- %j = cmpxchg i8* %i, i8...
2015 Jul 29
1
[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
...ase+Asserts build
llvm[3]: Compiling DwarfFile.cpp for Release+Asserts build
llvm[3]: Compiling X86WinEHState.cpp for Release+Asserts build
llvm[3]: Compiling InstCombineLoadStoreAlloca.cpp for Release+Asserts build
llvm[3]: Compiling DwarfStringPool.cpp for Release+Asserts build
llvm[3]: Compiling LowerAtomic.cpp for Release+Asserts build
llvm[3]: Building Release+Asserts Archive Library libLLVMX86CodeGen.a
make[4]: Entering directory '/home/NIKHILREDDY/WORK/LLVM_OBJ/lib/Target/X86/InstPrinter'
llvm[4]: Compiling X86ATTInstPrinter.cpp for Release+Asserts build
llvm[3]: Compiling DwarfUnit.cpp fo...