search for: scalarexpremitt

Displaying 7 results from an estimated 7 matches for "scalarexpremitt".

Did you mean: scalarexpremitter
2019 Jul 29
4
ICE in release/9.x when using LLVM_ENABLE_MODULES
I ran into an LLVM/Clang crash when attempting to do the following: 1. Build Clang from the release/9.x branch source. 2. Use the Clang from (1) to build clangd on the release/9.x branch, with LLVM_ENABLE_MODULES=On. I wrote a script to reproduce the crash: https://gist.github.com/modocache/ac366ca9673b93bb21e75d3e72162608 At the above URL, you'll find a script `repro.sh` that reproduces
2013 Feb 08
2
[LLVMdev] assert when mixing static and non-static members with an external AST source
...i/git/lldb/tools/clang/lib/CodeGen/CGExprCXX.cpp:234 #26 0x00007ffff4b94c41 in clang::CodeGen::CodeGenFunction::EmitCallExpr (this=0x7fffffff9198, E=0xd6a5b0, ReturnValue=...) at /home/athirumurthi/git/lldb/tools/clang/lib/CodeGen/CGExpr.cpp:2696 #27 0x00007ffff4bdbbe4 in (anonymous namespace)::ScalarExprEmitter::VisitCallExpr (this=0x7fffffff7d98, E=0xd6a5b0) at /home/athirumurthi/git/lldb/tools/clang/lib/CodeGen/CGExprScalar.cpp:282 #28 0x00007ffff4bdbc68 in clang::StmtVisitorBase<clang::make_ptr, (anonymous namespace)::ScalarExprEmitter, llvm::Value*>::VisitCXXMemberCallExpr (this=0x7fffffff...
2013 Feb 15
0
[LLVMdev] assert when mixing static and non-static members with an external AST source
...i/git/lldb/tools/clang/lib/CodeGen/CGExprCXX.cpp:234 #26 0x00007ffff4b94c41 in clang::CodeGen::CodeGenFunction::EmitCallExpr (this=0x7fffffff9198, E=0xd6a5b0, ReturnValue=...) at /home/athirumurthi/git/lldb/tools/clang/lib/CodeGen/CGExpr.cpp:2696 #27 0x00007ffff4bdbbe4 in (anonymous namespace)::ScalarExprEmitter::VisitCallExpr (this=0x7fffffff7d98, E=0xd6a5b0) at /home/athirumurthi/git/lldb/tools/clang/lib/CodeGen/CGExprScalar.cpp:282 #28 0x00007ffff4bdbc68 in clang::StmtVisitorBase<clang::make_ptr, (anonymous namespace)::ScalarExprEmitter, llvm::Value*>::VisitCXXMemberCallExpr (this=0x7fffffff...
2019 Oct 30
2
pointer arithmetic with address space attribute not working
...0x0000000001b5177f emitPointerArithmetic(clang::CodeGen::CodeGenFunction&, (anonymous namespace)::BinOpInfo const&, bool) (/data/users/yhs/work/llvm-proje ct/llvm/build/install/bin/clang-10+0x1b5177f) #10 0x0000000001b42b86 clang::StmtVisitorBase<std::add_pointer, (anonymous namespace)::ScalarExprEmitter, llvm::Value*>::Visit(clang::Stmt*) (/data/users/yhs/ work/llvm-project/llvm/build/install/bin/clang-10+0x1b42b86) #11 0x0000000001b3a245 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/data/users/yhs/work/llvm-project/llvm/build/install/bin/cla ng-10+0x1b3a245) #12...
2019 Oct 31
2
pointer arithmetic with address space attribute not working
...0x0000000001b5177f emitPointerArithmetic(clang::CodeGen::CodeGenFunction&, (anonymous namespace)::BinOpInfo const&, bool) (/data/users/yhs/work/llvm-proje ct/llvm/build/install/bin/clang-10+0x1b5177f) #10 0x0000000001b42b86 clang::StmtVisitorBase<std::add_pointer, (anonymous namespace)::ScalarExprEmitter, llvm::Value*>::Visit(clang::Stmt*) (/data/users/yhs/ work/llvm-project/llvm/build/install/bin/clang-10+0x1b42b86) #11 0x0000000001b3a245 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/data/users/yhs/work/llvm-project/llvm/build/install/bin/cla ng-10+0x1b3a245) #12...
2019 Oct 31
2
pointer arithmetic with address space attribute not working
...emitPointerArithmetic(clang::CodeGen::CodeGenFunction&, (anonymous > namespace)::BinOpInfo const&, bool) (/data/users/yhs/work/llvm-proje > ct/llvm/build/install/bin/clang-10+0x1b5177f) > #10 0x0000000001b42b86 clang::StmtVisitorBase<std::add_pointer, > (anonymous namespace)::ScalarExprEmitter, > llvm::Value*>::Visit(clang::Stmt*) (/data/users/yhs/ > work/llvm-project/llvm/build/install/bin/clang-10+0x1b42b86) > #11 0x0000000001b3a245 > clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, > bool) (/data/users/yhs/work/llvm-project/llvm/build/install/bin...
2014 Mar 07
3
[LLVMdev] [RFC] Add second "failure" AtomicOrdering to cmpxchg instruction
...ent, SequentiallyConsistent); CXI->setVolatile(true); return RValue::get(CXI); diff --git a/lib/CodeGen/CGExprScalar.cpp b/lib/CodeGen/CGExprScalar.cpp index 580cb15..5f932b0 100644 --- a/lib/CodeGen/CGExprScalar.cpp +++ b/lib/CodeGen/CGExprScalar.cpp @@ -1735,8 +1735,9 @@ ScalarExprEmitter::EmitScalarPrePostIncDec(const UnaryOperator *E, LValue LV, if (atomicPHI) { llvm::BasicBlock *opBB = Builder.GetInsertBlock(); llvm::BasicBlock *contBB = CGF.createBasicBlock("atomic_cont", CGF.CurFn); - llvm::Value *old = Builder.CreateAtomicCmpXchg(LV.getAddress(), at...