summaryrefslogtreecommitdiffstats
path: root/include/llvm/Target
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-09-30 21:22:07 +0000
committerBill Wendling <isanbard@gmail.com>2008-09-30 21:22:07 +0000
commit6f287b22d2e57600b4cd5dc209d0d869e7736c0b (patch)
tree1c8e02946e9ac15065714bcc07bb0bdf38deb26c /include/llvm/Target
parent5ec9efd61bc4214c787287409498e8b78f28c922 (diff)
downloadexternal_llvm-6f287b22d2e57600b4cd5dc209d0d869e7736c0b.zip
external_llvm-6f287b22d2e57600b4cd5dc209d0d869e7736c0b.tar.gz
external_llvm-6f287b22d2e57600b4cd5dc209d0d869e7736c0b.tar.bz2
Add the new `-no-builtin' flag. This flag is meant to mimic the GCC
`-fno-builtin' flag. Currently, it's used to replace "memset" with "_bzero" instead of "__bzero" on Darwin10+. This arguably violates the meaning of this flag, but is currently sufficient. The meaning of this flag should become more specific over time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56885 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target')
-rw-r--r--include/llvm/Target/TargetLowering.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h
index 2f8758b..cec7aa7 100644
--- a/include/llvm/Target/TargetLowering.h
+++ b/include/llvm/Target/TargetLowering.h
@@ -1049,7 +1049,8 @@ public:
SDValue Chain,
SDValue Op1, SDValue Op2,
SDValue Op3, unsigned Align,
- const Value *DstSV, uint64_t DstOff) {
+ const Value *DstSV, uint64_t DstOff,
+ bool NoBuiltin = false) {
return SDValue();
}