[llvm] [clang] [RISCV] Add B extension (PR #76893)

2024-01-18 Thread Wang Pengcheng via cfe-commits

wangpc-pp wrote:

I will hold this PR util B extension is ratified (I think it won't take too 
long). Or, at least after llvm 18 branch is created.

https://github.com/llvm/llvm-project/pull/76893
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[llvm] [clang] [RISCV] Add B extension (PR #76893)

2024-01-03 Thread Wang Pengcheng via cfe-commits

wangpc-pp wrote:

> > I would suggest set it as 0.1 rather than 1.0, and I gonna to ask Ved to 
> > add version info as well...
> 
> Then also needs to move behind -menable-experimental-extensions.

Yes, this is why I set version to 1.0.
All implied extensions are ratified but when we want to use `b` to reduce some 
character in -march, we need to specify `-menable-experimental-extensions` 
instead.
(I hope B extension can be ratified soon...)

https://github.com/llvm/llvm-project/pull/76893
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[llvm] [clang] [RISCV] Add B extension (PR #76893)

2024-01-03 Thread Kito Cheng via cfe-commits

kito-cheng wrote:

Issue created at riscv-b: https://github.com/riscv/riscv-b/issues/3

https://github.com/llvm/llvm-project/pull/76893
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[llvm] [clang] [RISCV] Add B extension (PR #76893)

2024-01-03 Thread Craig Topper via cfe-commits

topperc wrote:

> I would suggest set it as 0.1 rather than 1.0, and I gonna to ask Ved to add 
> version info as well...

Then also needs to move behind -menable-experimental-extensions.

https://github.com/llvm/llvm-project/pull/76893
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[llvm] [clang] [RISCV] Add B extension (PR #76893)

2024-01-03 Thread Kito Cheng via cfe-commits

kito-cheng wrote:

And forgot to say: thanks for raise this issue! I didn't aware b extension is 
back again until this PR created.

https://github.com/llvm/llvm-project/pull/76893
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[llvm] [clang] [RISCV] Add B extension (PR #76893)

2024-01-03 Thread Kito Cheng via cfe-commits

kito-cheng wrote:

I would suggest set it as 0.1 rather than 1.0, and I gonna to ask Ved to add 
version info as well...

https://github.com/llvm/llvm-project/pull/76893
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits