We we have an MCConstantExpr, we can encode it directly into the instruction
instead of emitting fixups.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D21236
AMDGPU/SI: Correctly encode constant expressions ClosedPublic Authored by • tstellarAMD on Jun 10 2016, 12:18 PM.
Details Summary We we have an MCConstantExpr, we can encode it directly into the instruction
Diff Detail Event Timeline• tstellarAMD updated this object. This revision is now accepted and ready to land.Jun 10 2016, 12:22 PM
Revision Contents
Diff 60386 lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp
test/MC/AMDGPU/expressions.s
|
BTW, is it possible to use MCExpr::evaluateAsAbsolute() to to get a "constant" (i.e. known during assembly time) value?