diff options
author | Craig Topper <craig.topper@sifive.com> | 2022-06-26 13:28:57 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2022-06-26 13:51:17 -0700 |
commit | 016342e319fd31e41cf5ed16a6140a8ea2de74dd (patch) | |
tree | e86282ca387ff123c90369b1f52d69c26e855b6f /llvm/lib/CodeGen/BasicBlockSections.cpp | |
parent | 2ff4fb6573c111265a9d4d445f5cf43b659e71eb (diff) | |
download | llvm-016342e319fd31e41cf5ed16a6140a8ea2de74dd.zip llvm-016342e319fd31e41cf5ed16a6140a8ea2de74dd.tar.gz llvm-016342e319fd31e41cf5ed16a6140a8ea2de74dd.tar.bz2 |
[RISCV] Evaluate ICE operands to builtins using getIntegerConstantExpr.
Some RISC-V builtins requires ICE operands. We should call
getIntegerConstantExpr instead of EmitScalarExpr to match other
targets.
This was made a little trickier by the vector intrinsics not having
a valid type string, but there are two that have ICE operands so
I specified them manually.
Diffstat (limited to 'llvm/lib/CodeGen/BasicBlockSections.cpp')
0 files changed, 0 insertions, 0 deletions