llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc
Wouter van Oortmerssen 6b3f56b65f [WebAssembly] Fix p2align in assembler.
Summary:
- Match the syntax output by InstPrinter.
- Fix it always emitting 0 for align. Had to work around fact that
  opcode is not available for GetDefaultP2Align while parsing.
- Updated tests that were erroneously happy with a p2align=0

Fixes https://bugs.llvm.org/show_bug.cgi?id=40752

Reviewers: aheejin, sbc100

Subscribers: jgravelle-google, sunfish, jfb, llvm-commits, dschuff

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D63633

llvm-svn: 364570
2019-06-27 18:11:15 +00:00
..
CMakeLists.txt [WebAssembly] Move InstPrinter files to MCTargetDesc. NFC 2019-05-13 03:32:41 +00:00
LLVMBuild.txt [WebAssembly] Move InstPrinter files to MCTargetDesc. NFC 2019-05-13 03:32:41 +00:00
WebAssemblyAsmBackend.cpp [WebAssembly] Rename wasm fixup kinds 2019-03-28 02:07:28 +00:00
WebAssemblyFixupKinds.h [WebAssembly] Rename wasm fixup kinds 2019-03-28 02:07:28 +00:00
WebAssemblyInstPrinter.cpp [WebAssembly] Move InstPrinter files to MCTargetDesc. NFC 2019-05-13 03:32:41 +00:00
WebAssemblyInstPrinter.h [WebAssembly] Move InstPrinter files to MCTargetDesc. NFC 2019-05-13 03:32:41 +00:00
WebAssemblyMCAsmInfo.cpp [WebAssembly] clang-tidy (NFC) 2019-02-04 19:13:39 +00:00
WebAssemblyMCAsmInfo.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
WebAssemblyMCCodeEmitter.cpp [WebAssembly] Rename wasm fixup kinds 2019-03-28 02:07:28 +00:00
WebAssemblyMCTargetDesc.cpp Revert CMake: Make most target symbols hidden by default 2019-06-11 03:21:13 +00:00
WebAssemblyMCTargetDesc.h [WebAssembly] Fix p2align in assembler. 2019-06-27 18:11:15 +00:00
WebAssemblyTargetStreamer.cpp [WebAssembly] Move InstPrinter files to MCTargetDesc. NFC 2019-05-13 03:32:41 +00:00
WebAssemblyTargetStreamer.h [WebAssembly] Add codegen support for the import_field attribute 2019-02-01 22:27:34 +00:00
WebAssemblyWasmObjectWriter.cpp [WebAssembly] Add new explicit relocation types for PIC relocations 2019-04-04 17:43:50 +00:00