summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2019-10-10 21:34:32 +0000
committerNico Weber <nicolasweber@gmx.de>2019-10-10 21:34:32 +0000
commitb556085d811027a4ed50d2a5505010c7a9ac9819 (patch)
tree097ccd1df59419fdd8e9183504da0b74da45945f /clang/lib/CodeGen/CodeGenFunction.h
parent19a1a739b15d38b7488a4cabdc25a61b9e0d1fea (diff)
downloadbcm5719-llvm-b556085d811027a4ed50d2a5505010c7a9ac9819.tar.gz
bcm5719-llvm-b556085d811027a4ed50d2a5505010c7a9ac9819.zip
Revert 374450 "Fix __builtin_assume_aligned with too large values."
The test fails on Windows, with error: 'warning' diagnostics expected but not seen: File builtin-assume-aligned.c Line 62: requested alignment must be 268435456 bytes or smaller; assumption ignored error: 'warning' diagnostics seen but not expected: File builtin-assume-aligned.c Line 62: requested alignment must be 8192 bytes or smaller; assumption ignored llvm-svn: 374456
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index bb4fed80837..ea78309a069 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -2829,8 +2829,13 @@ public:
llvm::Value *Alignment,
llvm::Value *OffsetValue = nullptr);
+ void EmitAlignmentAssumption(llvm::Value *PtrValue, QualType Ty,
+ SourceLocation Loc, SourceLocation AssumptionLoc,
+ unsigned Alignment,
+ llvm::Value *OffsetValue = nullptr);
+
void EmitAlignmentAssumption(llvm::Value *PtrValue, const Expr *E,
- SourceLocation AssumptionLoc, llvm::Value *Alignment,
+ SourceLocation AssumptionLoc, unsigned Alignment,
llvm::Value *OffsetValue = nullptr);
//===--------------------------------------------------------------------===//
OpenPOWER on IntegriCloud