diff options
author | Leonard Chan <leonardchan@google.com> | 2018-06-29 17:08:19 +0000 |
---|---|---|
committer | Leonard Chan <leonardchan@google.com> | 2018-06-29 17:08:19 +0000 |
commit | 6e16c60f2688789c5735280499da42c2793d09bb (patch) | |
tree | 615b53076f757226484670e28e979e0f147efb69 /clang/test/Frontend | |
parent | c61b568e2d88c2591f594cc062f821644e5d447f (diff) | |
download | bcm5719-llvm-6e16c60f2688789c5735280499da42c2793d09bb.tar.gz bcm5719-llvm-6e16c60f2688789c5735280499da42c2793d09bb.zip |
[Fixed Point Arithmetic] Rename `-fsame-fbits` flag
- Rename the `-fsame-fbits` flag to `-fpadding-on-unsigned-fixed-point`
- Move the flag from a driver option to a cc1 option
- Rename the `SameFBits` member in TargetInfo to `PaddingOnUnsignedFixedPoint`
- Updated descriptions
Differential Revision: https://reviews.llvm.org/D48727
llvm-svn: 335993
Diffstat (limited to 'clang/test/Frontend')
-rw-r--r-- | clang/test/Frontend/fixed_point_same_fbits.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Frontend/fixed_point_same_fbits.c b/clang/test/Frontend/fixed_point_same_fbits.c index 255f7de89fd..1d116b7dfa2 100644 --- a/clang/test/Frontend/fixed_point_same_fbits.c +++ b/clang/test/Frontend/fixed_point_same_fbits.c @@ -1,5 +1,5 @@ // RUN: %clang -ffixed-point -S -emit-llvm -o - %s | FileCheck %s -check-prefix=DEFAULT -// RUN: %clang -ffixed-point -fsame-fbits -S -emit-llvm -o - %s | FileCheck %s -check-prefix=SAME +// RUN: %clang_cc1 -ffixed-point -fpadding-on-unsigned-fixed-point -S -emit-llvm -o - %s | FileCheck %s -check-prefix=SAME /* The scale for unsigned fixed point types should be the same as that of signed * fixed point types when -fsame-fbits is enabled. */ |