summaryrefslogtreecommitdiffstats
path: root/llvm/test/Verifier/cttz-undef-arg.ll
Commit message (Collapse)AuthorAgeFilesLines
* IR: Add immarg attributeMatt Arsenault2019-03-121-2/+4
| | | | | | | | | | | | | | | | | This indicates an intrinsic parameter is required to be a constant, and should not be replaced with a non-constant value. Add the attribute to all AMDGPU and generic intrinsics that comments indicate it should apply to. I scanned other target intrinsics, but I don't see any obvious comments indicating which arguments are intended to be only immediates. This breaks one questionable testcase for the autoupgrade. I'm unclear on whether the autoupgrade is supposed to really handle declarations which were never valid. The verifier fails because the attributes now refer to a parameter past the end of the argument list. llvm-svn: 355981
* Convert the uses of '|&' to use '2>&1 |' instead, which works on oldChandler Carruth2012-07-021-1/+1
| | | | | | | | | | versions of Bash. In addition, I can back out the change to the lit built-in shell test runner to support this. This should fix the majority of fallout on Darwin, but I suspect there will be a few straggling issues. llvm-svn: 159544
* Teach the verifier to reject all non-constant arguments to the secondChandler Carruth2011-12-121-0/+16
argument of the cttz and ctlz intrinsics. llvm-svn: 146360
OpenPOWER on IntegriCloud