diff options
author | VincentWu <43398706+Xinlong-Wu@users.noreply.github.com> | 2024-05-15 08:26:45 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-15 08:26:45 +1000 |
commit | 844355a8cb4b4fa4a6fa39ac47e1169233bb7130 (patch) | |
tree | 809ada5c10a262bcc0d7069f0afa59050342c08a /llvm/lib/Transforms/Utils/ModuleUtils.cpp | |
parent | 99fad7ebd85e37d3e25500b3411f6b332f68f108 (diff) | |
download | llvm-844355a8cb4b4fa4a6fa39ac47e1169233bb7130.zip llvm-844355a8cb4b4fa4a6fa39ac47e1169233bb7130.tar.gz llvm-844355a8cb4b4fa4a6fa39ac47e1169233bb7130.tar.bz2 |
[RISC-V] remove I ext when E ext has been enabled (#92070)
After patch https://github.com/llvm/llvm-project/pull/88805
`I` Ext will be added automatically when we running the command like
`./build/bin/llc -mtriple=riscv32 -mattr=+e -target-abi ilp32e
-verify-machineinstrs llvm/test/CodeGen/RISCV/zcmp-additional-stack.ll`
it will generate
```
.text
.attribute 4, 16
.attribute 5, "rv32i2p1_e2pe"
.file "zcmp-additional-stack.ll"
.globl func # -- Begin function func
.p2align 1
.type func,@function
```
This patch reset the I ext in FeatureBit when `+e` has been specify
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions