Change to use Ctx.reportError() instead of llvm_unreachable for
better error handling.  Also correct evaluateAsRelocatableImpl().
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D115251  
[VE] Change error handling of data references ClosedPublic Authored by kaz7 on Dec 7 2021, 8:09 AM. 
Details Summary Change to use Ctx.reportError() instead of llvm_unreachable for 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Dec 8 2021, 1:11 AM Closed by commit rGe71fa0336f91: [VE] Change error handling of data references (authored by kaz7).  ·  Explain WhyDec 8 2021, 4:07 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 392410 llvm/lib/Target/VE/MCTargetDesc/VEELFObjectWriter.cpp
 llvm/lib/Target/VE/MCTargetDesc/VEMCCodeEmitter.cpp
 llvm/lib/Target/VE/MCTargetDesc/VEMCExpr.cpp
 llvm/test/MC/VE/data-reloc-error.s
 
 llvm/test/MC/VE/data-reloc.s
 
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||