HomePhabricator

[NVPTX] Fix for NVPTX module asm regression

Authored by tatz.j@northeastern.edu <tatz.j@husky.neu.edu> on Jun 24 2020, 9:55 AM.

Description

[NVPTX] Fix for NVPTX module asm regression

Currently module asm ends up emitted twice and at the wrong place in the PTX.
This patch moves module asm generation into emitStartOfAsmFile() which puts at
the correct location in the generated PTX.

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

Details

Committed
traJun 24 2020, 11:17 AM
Differential Revision
D82280: Fix for NVPTX module asm regression
Parents
rG1a4f8889800a: [X86] Rename O3-pipeline.ll to opt-pipeline.ll and add O1/O2 command lines
Branches
Unknown
Tags
Unknown

Event Timeline

tra committed rGaf5e61bf4fd1: [NVPTX] Fix for NVPTX module asm regression (authored by tatz.j@northeastern.edu <tatz.j@husky.neu.edu>).Jun 24 2020, 11:17 AM